max<T extends num> function Null safety
- T a,
- T b
Returns the larger of two numbers.
Returns NaN if either argument is NaN.
The larger of -0.0
and 0.0
is 0.0
. If the arguments are
otherwise equal (including int and doubles with the same mathematical value)
then it is unspecified which of the two arguments is returned.
Implementation
external T max<T extends num>(T a, T b);