if

Command to support conditional execution.

Usage: if {condition} ifTrue [ifFalse]
admin@localhost:/TEA>  if {echo 'true'} {ls} {echo 'false'}
Groups
Realms
Roles
Users

admin@localhost:/TEA>
where

condition: is the condition to meet by the if construct.

ifTrue: is the segment that gets executed when the condition is true.

ifFalse: is the segment that gets executed when the condition is false.