The Filter object is never instantiated; it is only a
template on what objects are used for
filtering entities.
Methods
func(ent) → {Boolean}
The actual filter function to select entities.
Parameters:
| Name | Type | Description |
|---|---|---|
ent |
API3.Entity | An entity to test whether it shall belong to a derived/filtered collection. |
Returns:
true iff the tested entity currently
matches the filter criterion and shall be
included in the derived collection.
- Type
- Boolean