Skip to content
Chung Leong edited this page Jan 10, 2022 · 5 revisions

equal - Compare two arrays for equality

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

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 are 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.

Clone this wiki locally