Open DerekNonGeneric opened 1 year ago
Very popular published packages for some prior art:
is-plain-object
: returns true
only for objects created by the Object
constructorisobject
: returns true
if the value is an object and not an array or null
The
isPlainObject
predicate function is another common convenience function in the JS Object domain.isObject
predicate function from@openinf/util-types
isObjectLike
predicate function, which is often kept private/internal