Function type

  • Returns the true type of any value with correct detection for null, Array, Object, Promise, Symbol, and NaN. The correct values are inferred from Symbol.toStringTag and the value's prototype.

    Returns

    The value type.

    Parameters

    • value: any

    Returns string

Generated using TypeDoc