all - chung-leong/qb GitHub Wiki

all - Check if all values in an array are true

bool all( bool[] $list )

all() returns true if all elements in list are true.

Parameters:

list - The array to check.

Return Value:

True if all elements in list are true; false otherwise.

Version

1.0 and above.