eq method

bool eq(
  1. bool val
)

Equal to

Implementation

bool eq(bool val) {
  return _val == val;
}