reduce
reduce(
@llll ? ## required
@function ? ## required
) -> llll/null
note
reduce
is a built-in function in the bell programming language and is not unique or exclusive to bellplay~.
Applies cumulatively a binary function to all the elements in an llll.
Arguments
@llll
[llll] (required)@function
[function] (required)
Output
Reduced value. [llll/null]
warning
reduce
will return null
without raising an error if required arguments are not provided.