IsStringy

Not yet in a tagged release

Description

IsStringy::check() - can we use the variable as a string?

use GanbaroDigital\MissingBits\TypeChecks\IsStringy;
boolean IsStringy::check(mixed $item);

Parameters

IsStringy::check() takes one parameter:

Return Value

IsStringy::check() returns a boolean:

Throws

IsStringy::check() does not throw any exceptions.

Works With

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

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