public function Token::isDelimiter in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/css-selector/Parser/Token.php \Symfony\Component\CssSelector\Parser\Token::isDelimiter()
Parameters
array $values:
Return value
bool
File
- vendor/
symfony/ css-selector/ Parser/ Token.php, line 96
Class
- Token
- CSS selector token.
Namespace
Symfony\Component\CssSelector\ParserCode
public function isDelimiter(array $values = array()) {
if (self::TYPE_DELIMITER !== $this->type) {
return false;
}
if (empty($values)) {
return true;
}
return in_array($this->value, $values);
}