Meta Project

The Unofficial Meta Documentation

IF

Summary

IF is the conditional statement in Meta.

Category

CONTROLS

Usage

IF condition block

Arguments

condition - the condition that will be evaluated block - the block! of code that will be executed when the condition is met

Refinements

This method has no refinements

Description

IF controls is the statement following in the block! after the condition. The IF statement does not have an ELSE option. To use what is an IF THEN ELSE construction in Meta, change the IF into an EITHER.

Example Code

The most common usecase

IF condition? [code to perform if condition is satisfied]

Related

EITHER  
NOT  
ALL  
ANY  

Back to the Meta Methods Reference index