cond
cond
cond(conditionNode, ifNode, [elseNode]);
If conditionNode
evaluates to "truthy" value the node evaluates ifNode
node and returns its value, otherwise it evaluates elseNode
and returns its value. elseNode
is optional.
cond
cond(conditionNode, ifNode, [elseNode]);
If conditionNode
evaluates to "truthy" value the node evaluates ifNode
node and returns its value, otherwise it evaluates elseNode
and returns its value. elseNode
is optional.