any - chung-leong/qb GitHub Wiki

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.