private function tokenIsWhitespace(array $token)
    {
        if ($token[Mustache_Tokenizer::TYPE] === Mustache_Tokenizer::T_TEXT) {
            return preg_match('/^\s*$/', $token[Mustache_Tokenizer::VALUE]);
        }

        return false;
    }
private function tokenIsWhitespace(array $token)
    {
        if ($token[Mustache_Tokenizer::TYPE] === Mustache_Tokenizer::T_TEXT) {
            return preg_match('/^\s*$/', $token[Mustache_Tokenizer::VALUE]);
        }

        return false;
    }
private function tokenIsWhitespace ( array $ token ) { if ( $ token [ Mustache_Tokenizer :: TYPE ] === Mustache_Tokenizer :: T_TEXT ) { return preg_match ( '/^\s*$/' , $ token [ Mustache_Tokenizer :: VALUE ] ) ; } return false ; }
Check whether token is a whitespace token.

True if token type is T_TEXT and value is all whitespace characters.

@param array $token

@return bool True if token is a whitespace token
Check whether token is a whitespace token .