RosettaCodeData/Task/Boolean-values/GAP/boolean-values.gap

14 lines
155 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
1 < 2;
# true
2 < 1;
# false
# GAP has also the value fail, which cannot be used as a boolean but may be used i$
1 = fail;
# false
fail = fail;
# true