The array of numbers to be compared.
The value each element of the array is compared against.
Optional
eq: boolean = falseA boolean indicating if the comparison should be
greater than or equal to (true
), or strictly greater than (false
).
An array of booleans where each boolean indicates if
the corresponding element in array
is greater than (or greater than or equal to) value
.
Returns an array indicating whether each element of the input array is greater than or equal to a given value (if
eq
is true) or strictly greater than the value (ifeq
is false).Example