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

Function isObjectLike

src/helpers/get.js:878–880  ·  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

876 * // => false
877 */
878function isObjectLike(value) {
879 return !!value && typeof value == 'object';
880}
881
882/**
883 * Checks if `value` is classified as a `Symbol` primitive or object.

Callers 1

isSymbolFunction · 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…