Undirected

Meta Condition

Checks if the specified bi-entity condition is true before or after swapping the actor and target context.

Type ID: apoli:undirected

Note

Only available as a Bi-entity Condition

Fields

Field Type Default Description
condition Bi-entity Condition The bi-entity condition to check for.

Example

"bientity_condition": {
    "type": "apoli:undirected",
    "condition": {
        "type": "apoli:owner"
    }
}

This example will return true if the actor entity is the owner of the target entity, or if the target entity is the owner of the actor entity.