Navigation
Synopsis Return an arbitrary Boolean value.
Function bool arbBool()
Usage import Boolean;
Examples
rascal>import Boolean;
ok
rascal>arbBool();
bool: false
rascal>arbBool();
bool: true
rascal>arbBool();
bool: false
Benefits arbInt is a convenient generator for arbitrary binary choices.
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.