operator < method

bool operator <(
  1. dynamic other
)

Operador menor que

Implementation

bool operator <(dynamic other) {
  if (_value == null) return false;
  if (other is ChalonaValue<T>) {
    return other._value != null && compareTo(other._value!) < 0;
  }
  try {
    final converted = from(other);
    return converted != null && compareTo(converted) < 0;
  } catch (e) {
    return false;
  }
}