MCPcopy Create free account
hub / github.com/blacksmithgu/datacore / some

Method some

src/api/data-array.ts:98–98  ·  view source on GitHub ↗

Return true if the predicate is true for at least one value.

(f: ArrayFunc<T, boolean>)

Source from the content-addressed store, hash-verified

96 every(f: ArrayFunc<T, boolean>): boolean;
97 /** Return true if the predicate is true for at least one value. */
98 some(f: ArrayFunc<T, boolean>): boolean;
99 /** Return true if the predicate is FALSE for all values. */
100 none(f: ArrayFunc<T, boolean>): boolean;
101

Callers 4

inlineFieldMethod · 0.65
resolveSourceMethod · 0.65
someMethod · 0.65
functions.tsFile · 0.65

Implementers 1

DataArrayImplsrc/api/data-array.ts

Calls

no outgoing calls

Tested by

no test coverage detected