inspect

Bun

Symbol

inspect

namespace inspect

  • const custom: inspect.custom

    That can be used to declare custom inspect functions.

  • function table(tabularData: object | unknown[], properties?: string[], options?: { colors: boolean }): string

    Pretty-print an object or array as a table

    Like console.table, except it returns a string

    function table(tabularData: object | unknown[], options?: { colors: boolean }): string

    Pretty-print an object or array as a table

    Like console.table, except it returns a string