Skip to content

llListStatistics

function ll.ListStatistics(Operation: number, ListVariable: {any}): number

Performs a statistical aggregate function, specified by a LIST_STAT_* constant, on ListVariables.

This function allows a script to perform a statistical operation as defined by operation on a list composed of integers and floats.

Parameters
Operation (number)
One of LIST_STAT_* values
ListVariable ({any})
Variable to analyze.

Add example usage here showing SLua/Luau syntax with ll.ListStatistics().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.