(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 is a website building & hosting documentation for Clojure/Script libraries
× close