Function modes

  • Find the values that appear most often.

    Parameters

    • Rest ...xs: number[]

      a list of numbers

    Returns number[]

    [xₘ₁, xₘ₂, ...] | count(xₘᵢ) ≥ count(xᵢ) ∀ xᵢ ∈ xs

Generated using TypeDoc