- Index
- »
- point
- »
- func:toSites
def
func:toSites
toSites(recs)
Map a set of recs to to a grid of sites
. The recs
parameter may be any value accepted by toRecList()
. Return empty grid if no mapping is found. The following mappings are supported:
- recs with
site
tag are mapped as themselves - recs with
siteRef
tag are mapped to their parent site
Examples:
read(site).toSites // return site itself read(space).toSites // return space's parent site read(equip).toSites // return equip's parent site read(point).toSites // return point's parent site