MCPcopy Create free account
hub / github.com/RubyLouvre/anu / isObjectLike

Function isObjectLike

test/babel.js:2455–2457  ·  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

(value)

Source from the content-addressed store, hash-verified

2453 * // => false
2454 */
2455 function isObjectLike(value) {
2456 return value != null && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) == 'object';
2457 }
2458
2459 module.exports = isObjectLike;
2460

Callers 9

isSymbolFunction · 0.70
babel.jsFile · 0.70
baseIsEqualFunction · 0.70
isPlainObjectFunction · 0.70
baseIsArgumentsFunction · 0.70
baseIsRegExpFunction · 0.70
baseIsTypedArrayFunction · 0.70
isArrayLikeObjectFunction · 0.70
isStringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected