if

Command to support conditional execution.

Usage: if {condition} ifTrue [ifFalse]
admin@localhost:/TEA>  if {echo 'true'} {ls} {echo 'false'}
Machines
Solutions
Groups
Users
Roles
Realms
Permissions
OperatorViewManager
SearchViewManager
Agents
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.