sign property
int?
get
sign
Returns the sign of this integer.
Returns 0 for zero, -1 for values less than zero and +1 for values greater than zero.
Implementation
int? get sign => value?.sign;
Returns the sign of this integer.
Returns 0 for zero, -1 for values less than zero and +1 for values greater than zero.
int? get sign => value?.sign;