Function typeOf

  • Get the generic type of the given value. Unlike typeof, the returned type will be a generic type. For example, calling typeOf([]) will returns array instead of object.

    Parameters

    • value: unknown

    Returns GenericType

Generated using TypeDoc