$defaultVisitor->logical()
Processes logical operation
$defaultVisitor->logical() 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.
$defaultVisitor->logical(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
This method modifies the existing $defaultvisitor object it is applied to and returns it again.