-
-
Notifications
You must be signed in to change notification settings - Fork 642
Collection.until()
David Fahlander edited this page May 8, 2014
·
6 revisions
Ignores items occurring after given filter returns true.
collection.until(filterFunction, bIncludeStopEntry)
filterFunction: Function | function (item) {} that when returns a truthy value will stop the rest of the iteration |
bIncludeStopEntry: Boolean | (Optional) If true, the collection will include the stop entry on which the filter function returns true |
Works similary to limit() but rather than specifying a number, you specify a filter function to execute on each item and when it returns true, the iteration will stop.
This Collection instance (this)
Dexie.js - minimalistic and bullet proof indexedDB library