def
func:fitsMatchAll
fitsMatchAll(recs, specs: null)
Match dict recs against specs to find all the specs that fit. The recs argument can be anything accepted by toRecList()
. Specs must be a list of Specs. If specs argument is omitted, then we match against all the non-abstract types
currently in scope. Only the most specific subtype is returned.
Result is a grid for each input rec with the following columns:
- id: of the input record
- num: number of matches
- specs: list of Spec for all matching specs
Example:
readAll(equip).fitsMatchAll