Function inspect

  • Inspects the value and returns it.

    Type Parameters

    • T

    Parameters

    • value: T
    • inspector: ((value: Readonly<T>) => void) = console.dir
        • (value): void
        • Parameters

          • value: Readonly<T>

          Returns void

    Returns T