Search results
37 packages found
ES spec-compliant shim for Object.hasOwn
A robust, ES3 compatible, "has own property" predicate.
Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js
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
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Test if an object has a specified property.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- object
- obj
- has
- hasown
- hasownproperty
- property
- View more
Basic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects.
Common JavaScript/TypeScript helper functions for better minification
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
(fork of omit-empty) Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
Get a nested property or its value from an object using simple `a.b.c` paths.
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
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 if an object has a specified method name.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- object
- obj
- has
- hasown
- hasownproperty
- 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, either own or inherited.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- object
- obj
- has
- hasown
- hasownproperty
- hasprop
- View more
Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.
Additional functions for JavaScript to build strong applications.
- wrap
- mixin
- try
- defer
- throttle
- queue
- channel
- worker
- parallelism
- multithreading
- goroutine
- asyncIterator
- compare
- capitalize
- View more