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

Method some

src/api/data-array.ts:389–391  ·  view source on GitHub ↗
(f: ArrayFunc<T, boolean>)

Source from the content-addressed store, hash-verified

387 }
388
389 public some(f: ArrayFunc<T, boolean>): boolean {
390 return this.values.some(f);
391 }
392
393 public none(f: ArrayFunc<T, boolean>): boolean {
394 return this.values.every((v, i, a) => !f(v, i, a));

Callers

nothing calls this directly

Calls 1

someMethod · 0.65

Tested by

no test coverage detected