Class LFilter
Object
|
+--Lens
|
+--LFilter
- class
LFilter
- extends Lens
In the get direction, projects the concrete tree down to only those
properties matching pred. In the putback direction, they are restored (if
they are present in the concrete tree).
Defined in lens.js
|
Field Summary |
Object |
name
|
|
Constructor Summary |
LFilter(<function> pred, d)
|
name
Object name
LFilter
LFilter(<function> pred, d)
Parameters:
pred - A predicate matching the desired properties
d - The default value to putback if nothing is found in the concrete tree
Documentation generated by
JSDoc on Wed Feb 14 15:36:01 2007