mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 12:06:01 +01:00
Fix lessThan doc
This commit is contained in:
parent
485cbfc7f1
commit
fc03b89ff4
1 changed files with 3 additions and 3 deletions
|
|
@ -4122,9 +4122,9 @@ static RegisterPrimOp primop_lessThan({
|
||||||
.name = "__lessThan",
|
.name = "__lessThan",
|
||||||
.args = {"e1", "e2"},
|
.args = {"e1", "e2"},
|
||||||
.doc = R"(
|
.doc = R"(
|
||||||
Return `true` if the number *e1* is less than the number *e2*, and
|
Return `true` if the value *e1* is less than the value *e2*, and `false` otherwise.
|
||||||
`false` otherwise. Evaluation aborts if either *e1* or *e2* does not
|
Evaluation aborts if either *e1* or *e2* does not evaluate to a number, string or path.
|
||||||
evaluate to a number.
|
Furthermore, it aborts if *e2* does not match *e1*'s type according to the aforementioned classification of number, string or path.
|
||||||
)",
|
)",
|
||||||
.fun = prim_lessThan,
|
.fun = prim_lessThan,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue