randomBool function

bool randomBool ()

Returns either true or false in a most random fashion.

Implementation

bool randomBool() {
  return _random.nextDouble() < 0.5;
}