When Moya encounters this tag in a loop, such as <while> or <for>, it ignores the remaining code in the block and continues to the next item in the loop.
<let crew="['John', 'Rygel', 'Scorpius', 'Aeryn']"/><for src="crew" dst="character"><if test="character == 'Scorpius'"><echo>Scorpius is not allowed on board!</eco><continue/></if><echo>${character} is on board</echo></for>
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
if |
Conditional expression | expression | No | yes |