(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.
(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.
(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).
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |