def
func:fitsMatchAll
fitsMatchAll(recs, specs: null, opts: 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 Spec or 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
See fits()
for a list of supported fit options.
Example:
readAll(equip).fitsMatchAll