/
Boolean values are represented by the following literals, which are case insensitive:
| Boolean value | Literals |
|---|---|
true | true, yes |
false | false, no |
Using the yes and no literals is encouraged because they contribute to a more natural language flow.
.code linenumbers:{no}
My codeThe following operator functions return a Boolean value:
.not {bool}: Negates a boolean. Chaining is recommended: .bool::not.islower {a} {than}: Returns true if a is less than than.isgreater {a} {than}: Returns true if a is greater than than.isequal {a} {to}: Returns true if a equals to