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

Function isObjectLike

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

818 * // => false
819 */
820function isObjectLike(value) {
821 return !!value && typeof value === "object";
822}
823
824/**
825 * Checks if `value` is classified as a `String` primitive or object.

Callers 2

isArrayLikeObjectFunction · 0.85
isStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected