Skip to content
Please update to 0.77.3 or later to address multiple CVEs.
Velociraptor 0.77.4 is now available!

reduce

Function
Arg Description Type
items A list of items to apply the lambda on Any (required)
lambda A VQL Lambda to apply on each item Lambda

Description

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