Function every

  • Examine if all values satisfy a test. 📘

    Type Parameters

    • T

    Parameters

    • x: T[]

      an array

    • Optional ft: TestFunction<T>

      test function (v, i, x)

    Returns boolean

    true if ft(vᵢ) = true for all vᵢ ∈ x

Generated using TypeDoc