operator <= method Null safety

bool operator <=(
  1. num other
)

Whether this number is numerically smaller than or equal to other.

Returns true if this number is smaller than or equal to other. Returns false if this number is greater than other or if either value is a NaN value like double.nan.

Implementation

bool operator <=(num other);