Chalkboard - v3.0.1
    Preparing search index...

    Function ineq

    • Checks if the elements of an array are less than (or equal to) and greater than (or equal to) a number or the elements of another array, and then returns an array with the elements that pass the check.

      Parameters

      • arr: number[]

        The array

      • inf: number

        The array or number to check "less than (or equal to)" with

      • sup: number

        The array or number to check "greater than (or equal to)" with

      • OptionalincludeInf: boolean = false

        Whether the check is "less than" (false) or "less than or equal to" (true)

      • OptionalincludeSup: boolean = false

        Whether the check is "greater than" (false) or "greater than or equal to" (true)

      Returns number[]