Liking cljdoc? Tell your friends :D
Clojure only.

hara.image.base.size


lengthclj

(length size)

calculates the length of the array

(length {:width 2 :height 3}) => 6

(length [100 200]) => 20000

calculates the length of the array

(length {:width 2 :height 3})
=> 6

(length [100 200])
=> 20000
raw docstring

size->mapclj

(size->map size)

converts a size to a map

(size->map [100 200]) => {:width 100, :height 200}

(size->map {:width 2 :height 3}) => {:width 2, :height 3}

converts a size to a map

(size->map [100 200])
=> {:width 100, :height 200}

(size->map {:width 2 :height 3})
=> {:width 2, :height 3}
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close