RecordsetFilter Class
Plugin that provides the ability to filter through a recordset. Uses the filter methods available on Y.Array (see arrayextras submodule) to filter the recordset.
Methods
filter
    
        - 
                    
                        
filter - 
                    
                        
[value] 
Filter through the recordset with a custom filter function, or a key-value pair.
Parameters:
Returns:
A new filtered Recordset instance
grep
    
        - 
                    
                        
pattern 
Iterates over the Recordset, returning a new Recordset of all the elements that match the supplied regular expression
Parameters:
- 
                    
                        
patternRegExpThe regular expression to test against each record.
 
Returns:
A Recordset instance containing all the items in the collection that produce a match against the supplied regular expression. If no items match, an empty Recordset instance is returned.
reject
    
        - 
                    
                        
filter 
The inverse of filter. Executes the supplied function on each item. Returns
a new Recordset containing the items that the supplied function returned
false for.
Parameters:
- 
                    
                        
filterFunctionA boolean function, executed on each item.
 
Returns:
A new Recordset instance containing the items on which the supplied function returned false.
