def

func:gridRowsToDict

gridRowsToDict(grid, rowToKey, rowToVal)

Convert grid rows into a dict of name/val pairs. The name/value pairs are derived from each row using the given functions. The functions take (row, index)

Example:

// create dict of sites with dis:area pairs
readAll(site).gridRowsToDict(s=>s.dis.toTagName, s=>s->area)

meta

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function