Function isPropertyKey

  • A Type Guard to check if given value type is equal to "string", "number" or "symbol"

    Type Parameters

    • Value extends unknown

    • Result extends string | number | symbol = string | number | symbol

    Parameters

    • value: Value

    Returns value is Combine<Value, Result>

Generated using TypeDoc