Function isTypeOf

  • Checks if the typeof result of value is equal to the provided type.

    Type Parameters

    • Value

    Parameters

    Returns boolean

    Since

    1.0.0

    Example

    isTypeOf(1, "number");
    // => true