- Index
- »
- axon
- »
- func:spread
def
func:spread
spread(val, acc)
Fold multiple values to compute the difference between the max and min value. Return null if no values.
Example:
[7, 2, 3].fold(spread) >> 5
Fold multiple values to compute the difference between the max and min value. Return null if no values.
Example:
[7, 2, 3].fold(spread) >> 5