Function matchPropertyKey

  • Given a PropertyKey, returns a Type Guard that checks if the given value is strictly equal to the given PropertyKey.

    Type Parameters

    • Result extends PropertyKey

    Parameters

    • result: Result

    Returns TypeGuardFn<AnyPrimitive, Result>

Generated using TypeDoc