Add an item to this QuerySet.
The item needs to be added
Callback if the item was already in this QuerySet. This callback takes the item (inside the QuerySet) as input and returns whether the item in this QuerySet is modified or not by the callback function (e.g. buffs might want to +1 stack if already exists), and updates currentTimeStep if modification was done.
If the item has been added (no duplicates).
Add a query to the QuerySet.
Name for this query, will be used in query() function.
filtering function as in Array.filter. It defines a criteia that whether an element in the query should be keeped or discarded. Returns false to filter out that element.
compareFunction as in Array.sort. You want to return a negative value if lhs < rhs and vice versa. The result then will come with an ascending order if you do so (smaller first).
Get all data inside this set as an array.
Perform an online query with input functions.
Filter function
Compare function
Apply a query and return the results.
The query needs to be performed.
An array contains a sorted query results.
Generated using TypeDoc
Used to determine are the queries dirty or not.