Liking cljdoc? Tell your friends :D

emlyn.grid.convert


to-mapclj

(to-map grid & {:keys [filter] :or {filter some?}})

Convert the grid to a plain map of coordinate to value.

Convert the grid to a plain map of coordinate to value.
sourceraw docstring

to-mapsclj

(to-maps grid & {:keys [filter] :or {filter some?}})

Convert the grid to a map of x to map of y to value.

Convert the grid to a map of x to map of y to value.
sourceraw docstring

to-vecclj

(to-vec grid)

Convert the grid to a flat vector of all values (left to right, top to bottom).

Convert the grid to a flat vector of all values (left to right, top to bottom).
sourceraw docstring

to-vecsclj

(to-vecs grid)

Convert the grid to a vector of vectors, one for each row.

Convert the grid to a vector of vectors, one for each row.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close