Liking cljdoc? Tell your friends :D

garden.units

Functions and macros for working with CSS units.

Functions and macros for working with CSS units.
raw docstring

angle?clj/s

(angle? x)

angular-unitsclj/s


chclj/s


ch*clj/s


ch+clj/s


ch-clj/s


ch-divclj/s


ch?clj/s


cmclj/s


cm*clj/s


cm+clj/s


cm-clj/s


cm-divclj/s


cm?clj/s


defunitclj/smacro

(defunit name)
(defunit name unit)

Create a suite of functions for unit creation, conversion, validation, and arithmetic.

Create a suite of functions for unit creation, conversion,
validation, and arithmetic.
raw docstring

degclj/s


deg*clj/s


deg+clj/s


deg-clj/s


deg-divclj/s


deg?clj/s


dpcmclj/s


dpcm*clj/s


dpcm+clj/s


dpcm-clj/s


dpcm-divclj/s


dpcm?clj/s


dpiclj/s


dpi*clj/s


dpi+clj/s


dpi-clj/s


dpi-divclj/s


dpi?clj/s


dppxclj/s


dppx*clj/s


dppx+clj/s


dppx-clj/s


dppx-divclj/s


dppx?clj/s


emclj/s


em*clj/s


em+clj/s


em-clj/s


em-divclj/s


em?clj/s


exclj/s


ex*clj/s


ex+clj/s


ex-clj/s


ex-divclj/s


ex?clj/s


frclj/s


fr*clj/s


fr+clj/s


fr-clj/s


fr-divclj/s


fr?clj/s


frequency-unitsclj/s


frequency?clj/s

(frequency? x)

gradclj/s


grad*clj/s


grad+clj/s


grad-clj/s


grad-divclj/s


grad?clj/s


Hzclj/s


Hz*clj/s


Hz+clj/s


Hz-clj/s


Hz-divclj/s


Hz?clj/s


inclj/s


in*clj/s


in+clj/s


in-clj/s


in-divclj/s


in?clj/s


kHzclj/s


kHz*clj/s


kHz+clj/s


kHz-clj/s


kHz-divclj/s


kHz?clj/s


length-unitsclj/s


length?clj/s

(length? x)

make-unit-adderclj/s

(make-unit-adder unit)

Create a addition function for adding Units.

Create a addition function for adding Units.
raw docstring

make-unit-dividerclj/s

(make-unit-divider unit)

Create a division function for dividing Units.

Create a division function for dividing Units.
raw docstring

make-unit-fnclj/s

(make-unit-fn unit)

Creates a function for creating and converting CSSUnits for the given unit. If a number n is passed the function it will produce a new CSSUnit record with a the magnitude set to n. If a CSSUnit is passed the function will attempt to convert it.

Creates a function for creating and converting `CSSUnit`s for the
given unit. If a number n is passed the function it will produce a
new `CSSUnit` record with a the magnitude set to n. If a `CSSUnit`
is passed the function will attempt to convert it.
raw docstring

make-unit-multiplierclj/s

(make-unit-multiplier unit)

Create a multiplication function for multiplying Units.

Create a multiplication function for multiplying Units.
raw docstring

make-unit-predicateclj/s

(make-unit-predicate unit)

Creates a function for verifying the given unit type.

Creates a function for verifying the given unit type.
raw docstring

make-unit-subtractorclj/s

(make-unit-subtractor unit)

Create a subtraction function for subtracting Units.

Create a subtraction function for subtracting Units.
raw docstring

mmclj/s


mm*clj/s


mm+clj/s


mm-clj/s


mm-divclj/s


mm?clj/s


msclj/s


ms*clj/s


ms+clj/s


ms-clj/s


ms-divclj/s


ms?clj/s


pcclj/s


pc*clj/s


pc+clj/s


pc-clj/s


pc-divclj/s


pc?clj/s


percentclj/s


percent*clj/s


percent+clj/s


percent-clj/s


percent-divclj/s


percent?clj/s


ptclj/s


pt*clj/s


pt+clj/s


pt-clj/s


pt-divclj/s


pt?clj/s


pxclj/s


px*clj/s


px+clj/s


px-clj/s


px-divclj/s


px?clj/s


radclj/s


rad*clj/s


rad+clj/s


rad-clj/s


rad-divclj/s


rad?clj/s


read-unitclj/s

(read-unit s)

Read a CSSUnit object from the string s.

Read a `CSSUnit` object from the string `s`.
raw docstring

remclj/s


rem*clj/s


rem+clj/s


rem-clj/s


rem-divclj/s


rem?clj/s


resolution-unitsclj/s


resolution?clj/s

(resolution? x)

sclj/s


s*clj/s


s+clj/s


s-clj/s


s-divclj/s


s?clj/s


time-unitsclj/s


time?clj/s

(time? x)

turnclj/s


turn*clj/s


turn+clj/s


turn-clj/s


turn-divclj/s


turn?clj/s


unit?clj/s

(unit? x)

True if x is of type CSSUnit.

True if x is of type CSSUnit.
raw docstring

vhclj/s


vh*clj/s


vh+clj/s


vh-clj/s


vh-divclj/s


vh?clj/s


vmaxclj/s


vmax*clj/s


vmax+clj/s


vmax-clj/s


vmax-divclj/s


vmax?clj/s


vminclj/s


vmin*clj/s


vmin+clj/s


vmin-clj/s


vmin-divclj/s


vmin?clj/s


vwclj/s


vw*clj/s


vw+clj/s


vw-clj/s


vw-divclj/s


vw?clj/s

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