MCPcopy
hub / github.com/flightcontrolhq/superjson / isArray

Function isArray

src/is.ts:22–23  ·  view source on GitHub ↗
(payload: any)

Source from the content-addressed store, hash-verified

20 isPlainObject(payload) && Object.keys(payload).length === 0;
21
22export const isArray = (payload: any): payload is any[] =>
23 Array.isArray(payload);
24
25export const isString = (payload: any): payload is string =>
26 typeof payload === 'string';

Callers 8

deepFreezeFunction · 0.85
is.test.tsFile · 0.85
setDeepFunction · 0.85
traverseFunction · 0.85
isDeepFunction · 0.85
walkerFunction · 0.85
untransformValueFunction · 0.85

Calls

no outgoing calls

Tested by 1

deepFreezeFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…