def

func:fitsExplain

fitsExplain(recs, spec)

Return grid which explains how data fits the given spec. This function takes one or more recs and returns a grid. For each rec zero or more rows are returned with an error why the rec does not fit the given type. If a rec does fit the type, then zero rows are returned for that record.

If you pass null for the spec, then each record is fit against its declared spec tag. If a given rec is missing a spec tag then it is reported an error.

Example:

readAll(vav and hotWaterHeating).fitsExplain(G36ReheatVav)

meta

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function