Liking cljdoc? Tell your friends :D
ClojureScript only.

fluree.crypto.bn

Utility functions to encode some of the stranger, easy to forget behaviors of the sjcl/bn (BigNumber) library. For example, bn.greaterEquals doesn't return a boolean as you'd expect. It returns 1 if true, 0 if false. But 0 is truthy in Clojure(Script)!

Utility functions to encode some of the stranger, easy to forget behaviors
of the sjcl/bn (BigNumber) library. For example, bn.greaterEquals doesn't
return a boolean as you'd expect. It returns 1 if true, 0 if false. But 0 is
truthy in Clojure(Script)!
raw docstring

>=cljs

(>= a b)

Returns true if BigNumber a is greater than or equal to BigNumber b, false otherwise.

Returns true if BigNumber a is greater than or equal to BigNumber b,
false otherwise.
sourceraw docstring

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