Search results
83 packages found
Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
A robust, ES3 compatible, "has own property" predicate.
Set nested properties on an object using dot notation.
- bury
- deep-get-set
- deep-object
- deep-property
- deep-set-in
- deep-set
- deephas
- dot-prop
- dot2val
- es5-dot-prop
- get
- getsetdeep
- has
- hasown
- View more
Test if an object has a specified property.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- object
- obj
- has
- hasown
- hasownproperty
- property
- View more
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
The hasNestedProperty method missing in Object. This module does not extend Object.
Test if an object's own property is enumerable.
Get a nested property or its value from an object using simple `a.b.c` paths.
A way to validate the properties of an object without having to walk the tree.
Check if a value exists at a nested property path
Reduces an object to a value that is the accumulated result of running each property in the object through a callback. Executes the callback function once for each own enumerable property in the object, receiving four arguments: the initial value (or valu
- accumulate
- accumulator
- callback
- cb
- find
- for-in
- for-own
- has
- has-own
- hasOwn
- index
- iterate
- iterator
- javascript
- View more
Test if an object's own property is writable.
Test if an object's own property is non-enumerable.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- object
- obj
- is
- has
- enumerable
- non-enumerable
- View more
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
(fork of omit-empty) Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
Checks if an object has a property with a defined getter function.
Checks if an object has a property with a defined setter function.