cond top-level property
If conditionNode evaluates to "truthy" value the node evaluates ifBlock
node and returns its value,
otherwise it evaluates elseBlock
and returns its value. elseBlock
is optional.
Implementation
var cond = _ops.cond;
If conditionNode evaluates to "truthy" value the node evaluates ifBlock
node and returns its value,
otherwise it evaluates elseBlock
and returns its value. elseBlock
is optional.
var cond = _ops.cond;