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

any - Check if any value in an array is true

bool any( bool[] $list )

any() returns true if any element in list is true.

Parameters:

list - The array to check.

Return Value:

True if any element in list is true; false otherwise.

Version

1.0 and above.

Clone this wiki locally