sonic-weave
    Preparing search index...

    Function hasOwn

    • Returns true if the specified object has the indicated property as its own property. If the property is inherited, or does not exist, the function returns false.

      Parameters

      • object: object

        The JavaScript object instance to test.

      • property: PropertyKey

        The String name or Symbol of the property to test.

      Returns any

      true if the specified object has directly defined the specified property. Otherwise false