Altova FlowForce Server 2024 Advanced Edition

Builds a list from single items. All items must be of the same type, the resulting list is a list of items of that type.

 

Signature

list(item1:any type, item2:any type, itemN:any type) -> list

 

Parameters

Name

Type

Description

item1

any type

Specifies a single item. Subsequent items must be separated by a comma.

item2

any type

Same as above

itemN

any type

Same as above.

 

Examples

The following expression returns the list [1, 2, 3]. All list items are of numeric type:

 

list(1,2,3)

 

The following expression returns the list ['a', 'b', 'c']. All list items are of string type:

 

list('a','b','c')

© 2017-2023 Altova GmbH