isWhitespace

Determine if the string is composed of alphabetic characters.

Twine\Str::isWhitespace() : bool

Examples

$string = new Twine\Str(" \r\n\t");

        $string->isWhitespace(); // Returns true
$string = new Twine\Str('john pinkerton');

        $string->isWhitespace(); // Returns false