If
Usage
• If[condition, t, f] gives t if condition evaluates to True, and f if it evaluates to False. • If[condition, t, f, u] gives u if condition evaluates to neither True nor False.
Notes
• If evaluates only the argument determined by the value of the condition. • If[condition, t, f] is left unevaluated if condition evaluates to neither True nor False. • If[condition, t] gives Null if condition evaluates to False. • New in Version 1.
|