def

func:filterToFunc

filterToFunc(filterExpr)

Convert a filter expression to a function which maybe used with findAll() or find(). The returned function accepts one Dict parameter and returns true/false if the Dict is matched by the filter. Also see filter() and parseFilter().

Examples:

// filter for dicts with 'equip' tag
list.findAll(filterToFunc(equip))

// filter rows with an 'area' tag over 10,000
grid.findAll(filterToFunc(area > 10_000))

meta

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function