Function modes

  • Find the values that appear most often. 📘

    Returns

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

    Parameters

    • Rest ...xs: number[]

      a list of numbers

    Returns number[]

Generated using TypeDoc