eq method

bool eq(
  1. String val
)

Equal to

Implementation

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