Atlantiraptor Docs

reduce

Type: Function

Apply a lambda function on each item and return the accumulator. The lambda is expected to receive the accumulator and the item. For example (acc, x)=>acc + x

Argument Type Description
items Any (required) A list of items to apply the lambda on
lambda vfilter.Lambda A VQL Lambda to apply on each item

Platforms: Linux, Windows