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

Function isArr

scripts/libs/utils/object.js:63–65  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

61 return Object.prototype.toString.call(obj) === "[object Object]";
62 }
63 function isArr(arr) {
64 return Object.prototype.toString.call(arr) === "[object Array]";
65 }
66 if (!isObj(objA) || !isObj(objB)) return objA;
67 function deepMerge(objA, objB) {
68 forIn(objB, function (key) {

Callers 1

deepMergeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected