query
On this page

lessThan

lib.trivial.lessThan

Primop
Docs pulled from | This Revision | about 2 hours ago

Takes 2 arguments

e1, e2


Return true if the value e1 is less than the value e2, and false otherwise. Evaluation aborts if either e1 or e2 does not evaluate to a number, string or path. Furthermore, it aborts if e2 does not match e1's type according to the aforementioned classification of number, string or path.


Noogle detected

Aliases

Detected Type
lessThan :: Number -> Number -> Bool

Implementation

This function is implemented in c++ and is part of the native nix runtime.