greater_than_equal - chung-leong/qb GitHub Wiki

greater_than_equal - Component-wise >= comparison

bool[] greater_than_equal( float[] $x, float[] $y )

greater_than_equal() compares each element in x with the corresponding element in y and returns the results in a boolean array. all() or any() can then be use to determine whether all or any elements in x is greater than or equal to the corresponding elements in y.

Parameters:

x - The first array.

y - The second array.

Return Value:

An array of booleans containing the comparison results. The size of the return value will match that of the larger of x and y.

Version

1.0 and above.