MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / isObj

Function isObj

scripts/libs/utils/object.js:60–62  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

58 */
59export function mergeObj(objA, objB, concatArr) {
60 function isObj(obj) {
61 return Object.prototype.toString.call(obj) === "[object Object]";
62 }
63 function isArr(arr) {
64 return Object.prototype.toString.call(arr) === "[object Array]";
65 }

Callers 2

mergeObjFunction · 0.70
deepMergeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected