MCPcopy
hub / github.com/dunky11/react-saas-template / isObject

Function isObject

src/shared/functions/toArray.js:791–794  ·  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

789 * // => false
790 */
791function isObject(value) {
792 const type = typeof value;
793 return !!value && (type === "object" || type === "function");
794}
795
796/**
797 * Checks if `value` is object-like. A value is object-like if it's not `null`

Callers 2

baseIsNativeFunction · 0.85
isFunctionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected