IsArray::checkList()

Not yet in a tagged release

Description

IsArray::checkList() - is every entry in the list a PHP array?

use GanbaroDigital\MissingBits\TypeChecks\IsArray;
bool IsArray::checkList(mixed $list);

Parameters

IsArray::checkList() takes one parameter:

Return Value

IsArray::checkList() returns a boolean:

Throws

IsArray::checkList() throws an InvalidArgumentException if:

Works With

IsArray::checkList() is supported on these versions of PHP:

PHP Version Works?
5.5 Yes
5.6 Yes
7.0 Yes
HHVM Yes