operator <= method

bool operator <= (
  1. Jalali other
)

less than or equal operator

throws on null argument

non-null

Implementation

bool operator <=(Jalali other) {
  ArgumentError.checkNotNull(other, 'other');

  return compareTo(other) <= 0;
}