Skip to content

Kirby 6.0.0

$token->is()

$token->is() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$token->is(TokenType $type): bool

Parameters

Name Type Default
$typerequired Kirby\Query\Parser\TokenType no default value

Return type

bool

Parent class

Kirby\Query\Parser\Token