• Tests if the array's length is greater than the constraint number.

    Example

    expect(isArraySizeGreaterThan([1,2], 1).value).toBeTruthy()
    

    Parameters

    • array: any[]

      The array being checked.

    • constraint: number

      The size constraint

    Returns Result<boolean | undefined>

Generated using TypeDoc