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

Function isObject

src/helpers/set.js:914–917  ·  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

912 * // => false
913 */
914function isObject(value) {
915 var type = typeof value;
916 return !!value && (type == 'object' || type == 'function');
917}
918
919/**
920 * Checks if `value` is object-like. A value is object-like if it's not `null`

Callers 3

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