new list [of] %type:EXPR% — Expressions

new list [of] %type:EXPR%
DeprecatedList1.0.0

Description

Creates a new empty typed list. Elements added to this list will be validated against the declared type.

Examples

set arenas to new list of arena
set scores to new list of number
set names to new list string

All Possible Usages (2)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

new list <type>
new list of <type>

Related (List)