• Computes the mean of the values in array.

    Parameters

    • collection: undefined | null | List<any>

    Returns number

    Returns the mean.

    Example

    _.mean([4, 2, 8, 6]);
    // => 5

Generated using TypeDoc