eq method

bool eq(
  1. double val
)

Equal to

Implementation

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