$visitor->comparison()
$visitor->comparison() 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.
$visitor->comparison(mixed $left, string $operator, mixed $right): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $leftrequired | mixed |
no default value |
| $operatorrequired | string |
no default value |
| $rightrequired | mixed |
no default value |
Return type
bool