neq method

  1. @override
Logic neq(
  1. dynamic other
)
override

Logical inequality.

Implementation

@override
Logic neq(dynamic other) {
  if (other is Logic) {
    _checkMatchingWidth(other);
    return other is Const
        ? Const(value.neq(other.value))
        : NotEquals(this, other).out;
  }

  return Const(value.neq(LogicValue.of(other, width: width)));
}