filter

Array-like helper that returns all records matching a predicate.

Usage

const rows = ds.filter(r => r.Active);

API

filter(predicate: (value: DataRecord<T>, index: number, data: DataRecord<T>[]) => unknown): DataRecord<T>[];

Last updated

Was this helpful?