Empty list constructor

You use this construct to generate an empty list.

Purpose

You can use this construct as the default rule for multi-valued nodes.

Syntax

an empty list of <type>

Example

Take the example of a multi-valued decision node of type string. If one or more rules are applicable, a list of string values is returned. However, if no rule is applicable, the decision node will be undefined. You can create a default rule to return an empty list instead of an undefined value. You define the default rule as follows:

set decision to an empty list of strings;