Mixin: Filter

API3. Filter

The Filter object is never instantiated; it is only a template on what objects are used for filtering entities.
Source:

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.
Source:
Returns:
true iff the tested entity currently matches the filter criterion and shall be included in the derived collection.
Type
Boolean