This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

LogicalExpandWhich

If

FilledSmallSquareIf[condition, t, f] gives t if condition evaluates to True, and f if it evaluates to False.

FilledSmallSquareIf[condition, t, f, u] gives u if condition evaluates to neither True nor False.

FilledSmallSquareIf evaluates only the argument determined by the value of the condition.

FilledSmallSquareIf[condition, t, f] is left unevaluated if condition evaluates to neither True nor False.

FilledSmallSquareIf[condition, t] gives Null if condition evaluates to False.

FilledSmallSquare See The Mathematica Book: Section 1.5.6 and Section 2.5.8.

FilledSmallSquare See also: Switch, Which, Condition, DiracDelta.

Further Examples

LogicalExpandWhich