Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "operators/accumulator/avg"

Index

Functions

Functions

$avg

  • Returns an average of all the values in a group.

    Parameters

    • collection: Collection

      The input array

    • expr: AnyVal

      The right-hand side expression value of the operator

    • Optional options: Options

      The options to use for this operation

    Returns number

Generated using TypeDoc