query
On this page

lessThan

builtins.lessThan

Primop
Docs pulled from | This Revision | 1 day ago

Takes 2 arguments

e1, e2


Return true if the number e1 is less than the number e2, and false otherwise. Evaluation aborts if either e1 or e2 does not evaluate to a number.

This function is not defined in a .nix file. It is likely a builtins function or an alias of a builtins function. builtins functions are predefined functions provided by Nix.

Noogle detected

Aliases

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

Implementation

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