Skip to content

Table.filter()

David Fahlander edited this page May 8, 2014 · 5 revisions

Apply javascript filter on all items in the object store

Syntax

table.filter(filterFunction)

Parameters

filterFunction: Function function (value) { return true/false; }

Remarks

Returns a Collection instance that will iterate entire object store and calls given filter function for each item when calling any of the executing methods on the Collection, such as toArray(), each(), keys(), uniqueKeys().

Return Value

Collection

Clone this wiki locally