Liking cljdoc? Tell your friends :D

same.ish

Comparing different types for same-ish-ness.

Comparing different types for same-ish-ness.
raw docstring

*comparator*clj/s

The function for comparing individual floats/doubles. Can be overridden using [[with-comparator]] or [[set-comparator!]].

The function for comparing individual floats/doubles.
Can be overridden using [[with-comparator]] or [[set-comparator!]].
sourceraw docstring

Approximateclj/sprotocol

Protocol for approximately comparing any types (using *comparator* for floating point parts).

Protocol for approximately comparing any types (using [[*comparator*]] for floating point parts).

ishclj/s

(ish this that)

Return true if the two arguments are approximately equal.

Return true if the two arguments are approximately equal.
sourceraw docstring

default-comparatorclj/s

The default comparator. Stored in a separate var to make it easier to reset after modifying with [[set-comparator!]]

The default comparator. Stored in a separate var to make it easier to reset after
modifying with [[set-comparator!]]
sourceraw docstring

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

× close