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

Function includes

src/util.ts:48–50  ·  view source on GitHub ↗
(arr: T[], value: T)

Source from the content-addressed store, hash-verified

46}
47
48export function includes<T>(arr: T[], value: T) {
49 return arr.indexOf(value) !== -1;
50}
51
52export function findArr<T>(
53 record: T[],

Callers 2

validatePathFunction · 0.85
walkerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…