MCPcopy Create free account
hub / github.com/Lemoncode/fonk / isObject

Function isObject

src/helpers/get.js:849–852  ·  view source on GitHub ↗

* Checks if `value` is the * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) * * @static * @memberOf _ * @since 0.1.0 * @category Lang * @param {*}

(value)

Source from the content-addressed store, hash-verified

847 * // => false
848 */
849function isObject(value) {
850 const type = typeof value;
851 return !!value && (type == 'object' || type == 'function');
852}
853
854/**
855 * Checks if `value` is object-like. A value is object-like if it's not `null`

Callers 2

baseIsNativeFunction · 0.70
isFunctionFunction · 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…