Function doesKeyExists

  • A Utility to quickly check for the existence of a key on an object

    Returns

    if the key exists on the object

    Type Parameters

    • T

    Parameters

    • obj: T

      The Object to check for the provided Key on

    • key: PropertyKey

      The Key to check for on the provided Object

    Returns key is keyof T

Generated using TypeDoc