Function inspect

  • Returns human-readable stringified value representation.

    Parameters

    • value: any

      The value to stringify.

    • indent: number = 2

      The number of indentation spaces inside code blocks.

    • wrapAt: number = 80

      The number of characters in a single line after which a code is wrapped.

    Returns string