| Name | <tern[<condition>].pass[<result>].fail[<result>]> |
| Returns | ObjectTag |
| Description | Returns either the 'pass' input, or 'fail' input depending on the outcome of the condition.
The 'pass' input will be returned when the condition returns 'true', otherwise the 'fail' input will be returned. Example: '<tern[<player.is_spawned>].pass[Player is spawned!].fail[Player is not spawned!]>' Consider instead using ElementTag.if_true.if_false |
| Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/TernaryTagBase.java#L23 |