Table.filter()

Apply javascript filter on all items in the object store

Syntax

table.filter(filterFunction)

Parameters

filterFunction: Functionfunction (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() and sortBy().

Return Value

Collection

Table of Contents