25 packages found
Test if an object has a specified property.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- object
- obj
- has
- hasown
- hasownproperty
- property
- View more
return a boolen indicating the existence of a deep property, don't throw if parent is undefined
A way to validate the properties of an object without having to walk the tree.
Test if an object has a specified property, either own or inherited.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- object
- obj
- has
- hasown
- hasownproperty
- hasprop
- View more
performs a deep hasOwnProperty check
Unobtrusive object subscribe / watch / bind
Test if an object has a specified method name, either own or inherited.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- object
- obj
- has
- hasown
- hasownproperty
- hasprop
- View more
Test whether an object contains a nested key path.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- object
- obj
- deephas
- deephasown
- deephasownproperty
- property
- View more
Test whether an object contains a nested key path, either own or inherited.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- object
- obj
- deephas
- deephasown
- deephasproperty
- deephasownproperty
- View more
Test if an object has a specified method name.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- object
- obj
- has
- hasown
- hasownproperty
- property
- View more
Used to determine whether an object has an own property with the specified property key.
Remove reserved keys like hasOwnProperty, toString, etc. on objects recursively
Fix the type definition of the `Object.prototype.hasOwnProperty()` method
Fix for Object.hasOwnProperty, which normally just returns a boolean, which is not good when you care about strong typing
- Object
- funtal
- object
- playerony
- type-safe
- functional
- Typescript
- typescript
- hasOwnProperty
- has-own-property-ts
- ts-has-own-property
- Object.hasOwnProperty
- object-has-own-property
- type-safe-has-own-property
- View more
Babel plugin for transforming `Object.hasOwn`.
Determine if an Object has required property/properties
Retrieves a property only if hasOwnProperty() is true.
Shorthand for Object.prototype.hasOwnProperty.call(obj, name)