MCPcopy
hub / github.com/tinyplex/tinybase / isFunction

Function isFunction

src/common/other.ts:109–110  ·  view source on GitHub ↗
(thing: unknown)

Source from the content-addressed store, hash-verified

107 getTypeOf(thing) == NUMBER;
108
109export const isFunction = (thing: unknown): thing is (...args: any[]) => any =>
110 getTypeOf(thing) == FUNCTION;
111
112export const isArray = (thing: unknown): thing is unknown[] =>
113 Array.isArray(thing);

Callers 15

argsOrGetArgsFunction · 0.90
nonFunctionDepsFunction · 0.90
useAddRowCallbackFunction · 0.90
getThingFunction · 0.90
argsOrGetArgsFunction · 0.90
useAddRowCallbackFunction · 0.90
selectFunction · 0.90
joinFunction · 0.90
whereFunction · 0.90
groupFunction · 0.90
havingFunction · 0.90
setMetricDefinitionFunction · 0.90

Calls 1

getTypeOfFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…