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

meta

def func:spread
disKey ui::spread
foldOn Number
is func
lib lib:axon
name spread

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function