findIndex
Usage
const i = ds.findIndex(r => r.Id === 1);API
findIndex(predicate: (value: DataRecord<T>, index: number, obj: StorageArray<T>) => unknown): number;Last updated
Was this helpful?
const i = ds.findIndex(r => r.Id === 1);findIndex(predicate: (value: DataRecord<T>, index: number, obj: StorageArray<T>) => unknown): number;Last updated
Was this helpful?
Was this helpful?