cond top-level property

dynamic Function(bool condition, dynamic ifBlock, [dynamic elseBlock]) cond
getter/setter pair

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;