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

Method where

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

Source from the content-addressed store, hash-verified

211 }
212
213 public where(predicate: ArrayFunc<T, boolean>): DataArray<T> {
214 return this.lwrap(this.values.filter(predicate));
215 }
216
217 public filter(predicate: ArrayFunc<T, boolean>): DataArray<T> {
218 return this.where(predicate);

Callers 1

filterMethod · 0.95

Calls 2

lwrapMethod · 0.95
filterMethod · 0.65

Tested by

no test coverage detected