• Checks if array's length is less than the constraint.

    Example

    expect(isArraySizeLessThan([1,2], 3).value).toBeTruthy()
    

    Parameters

    • array: any[]

      The value array being checked.

    • constraint: number

      The minimum size of the array

    Returns Result<boolean | undefined>

Generated using TypeDoc