eq method

LogicValue eq(
  1. dynamic other
)

Equal-to operation.

This is different from == because it returns a LogicValue instead of a bool. It does a logical comparison of the two values, rather than exact equality. For example, if one of the two values is invalid, eq will return x.

Implementation

LogicValue eq(dynamic other) => _doCompare(other, (a, b) => a == b);