menu
readable package
documentation
readable.dart
RNumList
maxOr method
maxOr method
dark_mode
light_mode
maxOr
method
num
maxOr
(
num
value
)
return the element with the max value
return
value
if isEmpty
Implementation
num maxOr(num value) => maxOrNull() ?? value;
readable package
documentation
readable
RNumList
maxOr method
RNumList extension on
Iterable
<
num
>