$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(Kirby\Query\Parser\TokenType $type): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $typerequired | Kirby\Query\Parser\TokenType |
no default value |
Return type
bool
This method modifies the existing $token object it is applied to and returns it again.