Function whereNotBetween

  • Filters the array

    Example

    whereNotBetween([1, 2, 2, 3, 4, 4, 5], 3,4); // [1,2,2,5]
    

    Type Parameters

    • T

    Parameters

    • arr: T[]
    • start: T
    • end: T

    Returns T[]

  • Filters the array

    Example

    whereNotBetween([{count:1}, {count:20}, {count:15}], "count", 1, 15); // [{count:20}]
    

    Type Parameters

    • T

    Parameters

    • arr: T[]
    • field: string
    • start: unknown
    • end: unknown

    Returns T[]

Generated using TypeDoc