Function hasOwn

  • Determines if an object has a key.

    Parameters

    • obj: Record<any, any>

      object to check

    • key: PropertyKey

      key to check

    • param2: {
          ignoreCase?: boolean;
      } = {}

      options to customize the check

      • Optional ignoreCase?: boolean

    Returns key is any

    true if the object has the key, false otherwise

Generated using TypeDoc