Liking cljdoc? Tell your friends :D

mranderson047.garden.v1v3v3.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)
source

angular-unitsclj/s

source

chclj/s

source

ch*clj/s

source

ch+clj/s

source

ch-clj/s

source

ch-divclj/s

source

ch?clj/s

source

cmclj/s

source

cm*clj/s

source

cm+clj/s

source

cm-clj/s

source

cm-divclj/s

source

cm?clj/s

source

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.
sourceraw docstring

degclj/s

source

deg*clj/s

source

deg+clj/s

source

deg-clj/s

source

deg-divclj/s

source

deg?clj/s

source

dpcmclj/s

source

dpcm*clj/s

source

dpcm+clj/s

source

dpcm-clj/s

source

dpcm-divclj/s

source

dpcm?clj/s

source

dpiclj/s

source

dpi*clj/s

source

dpi+clj/s

source

dpi-clj/s

source

dpi-divclj/s

source

dpi?clj/s

source

dppxclj/s

source

dppx*clj/s

source

dppx+clj/s

source

dppx-clj/s

source

dppx-divclj/s

source

dppx?clj/s

source

emclj/s

source

em*clj/s

source

em+clj/s

source

em-clj/s

source

em-divclj/s

source

em?clj/s

source

exclj/s

source

ex*clj/s

source

ex+clj/s

source

ex-clj/s

source

ex-divclj/s

source

ex?clj/s

source

frequency-unitsclj/s

source

frequency?clj/s

(frequency? x)
source

gradclj/s

source

grad*clj/s

source

grad+clj/s

source

grad-clj/s

source

grad-divclj/s

source

grad?clj/s

source

Hzclj/s

source

Hz*clj/s

source

Hz+clj/s

source

Hz-clj/s

source

Hz-divclj/s

source

Hz?clj/s

source

inclj/s

source

in*clj/s

source

in+clj/s

source

in-clj/s

source

in-divclj/s

source

in?clj/s

source

kHzclj/s

source

kHz*clj/s

source

kHz+clj/s

source

kHz-clj/s

source

kHz-divclj/s

source

kHz?clj/s

source

length-unitsclj/s

source

length?clj/s

(length? x)
source

make-unit-adderclj/s

(make-unit-adder unit)

Create a addition function for adding Units.

Create a addition function for adding Units.
sourceraw docstring

make-unit-dividerclj/s

(make-unit-divider unit)

Create a division function for dividing Units.

Create a division function for dividing Units.
sourceraw 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.
sourceraw docstring

make-unit-multiplierclj/s

(make-unit-multiplier unit)

Create a multiplication function for multiplying Units.

Create a multiplication function for multiplying Units.
sourceraw 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.
sourceraw docstring

make-unit-subtractorclj/s

(make-unit-subtractor unit)

Create a subtraction function for subtracting Units.

Create a subtraction function for subtracting Units.
sourceraw docstring

mmclj/s

source

mm*clj/s

source

mm+clj/s

source

mm-clj/s

source

mm-divclj/s

source

mm?clj/s

source

msclj/s

source

ms*clj/s

source

ms+clj/s

source

ms-clj/s

source

ms-divclj/s

source

ms?clj/s

source

pcclj/s

source

pc*clj/s

source

pc+clj/s

source

pc-clj/s

source

pc-divclj/s

source

pc?clj/s

source

percentclj/s

source

percent*clj/s

source

percent+clj/s

source

percent-clj/s

source

percent-divclj/s

source

percent?clj/s

source

ptclj/s

source

pt*clj/s

source

pt+clj/s

source

pt-clj/s

source

pt-divclj/s

source

pt?clj/s

source

pxclj/s

source

px*clj/s

source

px+clj/s

source

px-clj/s

source

px-divclj/s

source

px?clj/s

source

radclj/s

source

rad*clj/s

source

rad+clj/s

source

rad-clj/s

source

rad-divclj/s

source

rad?clj/s

source

read-unitclj/s

(read-unit s)

Read a CSSUnit object from the string s.

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

remclj/s

source

rem*clj/s

source

rem+clj/s

source

rem-clj/s

source

rem-divclj/s

source

rem?clj/s

source

resolution-unitsclj/s

source

resolution?clj/s

(resolution? x)
source

sclj/s

source

s*clj/s

source

s+clj/s

source

s-clj/s

source

s-divclj/s

source

s?clj/s

source

time-unitsclj/s

source

time?clj/s

(time? x)
source

turnclj/s

source

turn*clj/s

source

turn+clj/s

source

turn-clj/s

source

turn-divclj/s

source

turn?clj/s

source

unit?clj/s

(unit? x)

True if x is of type CSSUnit.

True if x is of type CSSUnit.
sourceraw docstring

vhclj/s

source

vh*clj/s

source

vh+clj/s

source

vh-clj/s

source

vh-divclj/s

source

vh?clj/s

source

vmaxclj/s

source

vmax*clj/s

source

vmax+clj/s

source

vmax-clj/s

source

vmax-divclj/s

source

vmax?clj/s

source

vminclj/s

source

vmin*clj/s

source

vmin+clj/s

source

vmin-clj/s

source

vmin-divclj/s

source

vmin?clj/s

source

vwclj/s

source

vw*clj/s

source

vw+clj/s

source

vw-clj/s

source

vw-divclj/s

source

vw?clj/s

source

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

× close