Condition

The condition node. Executes T with provided arguments, reports the result. The result follows the principle of excluded middle.

struct Condition (
T
) {}

Members

Functions

opCall
auto opCall(U args)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

member
T member;
Undocumented in source.

Examples

Condition!(Leaf!bool) c; 

assert(c(42) == Ternary.no); 
assert(c(73) == Ternary.yes); 

Meta