MCPcopy
hub / github.com/tdewolff/minify / isObjectLike

Function isObjectLike

_benchmarks/sample_victory.js:18424–18426  ·  view source on GitHub ↗

* Checks if `value` is object-like. A value is object-like if it's not `null` * and has a `typeof` result of "object". * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is object-like, else `false`.

(value)

Source from the content-addressed store, hash-verified

18422 * // => false
18423 */
18424function isObjectLike(value) {
18425 return value != null && typeof value == 'object';
18426}
18427
18428module.exports = isObjectLike;
18429

Callers 7

baseIsDateFunction · 0.70
baseIsEqualFunction · 0.70
baseIsRegExpFunction · 0.70
isArrayLikeObjectFunction · 0.70
isNumberFunction · 0.70
isPlainObjectFunction · 0.70
isStringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…