IsStringy::checkList()

Not yet in a tagged release

Description

IsStringy::checkList() - can we use every item in a list as a string?

use GanbaroDigital\MissingBits\TypeChecks\IsStringy;
boolean IsStringy::checkList(mixed $list);

Parameters

IsStringy::check() takes one parameter:

Return Value

IsStringy::checkList() returns a boolean:

Throws

IsStringy::checkList() throws an InvalidArgumentException if:

Works With

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

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