MAP

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

MAP


 

Create a map value.

 


Syntax 1

MAP(

         key,

         value

         [, key, value]...

         )

 


Parameters

 

key

 

Type:

Character types

 

The key name.

 

value

 

Type:

General purpose

 

The value, which can be an array or a map.

 

Return Value

 

 

Type:

map

 

Map value.

 

 


Syntax 2

MAP(

         keyValues

         )

 


Parameters

 

keyValues

 

Type:

array

 

Specify the combination of key name and value in a one-dimensional array, like this: c(key, value, key, value ...). *In this syntax, you cannot specify an array or map value for value.

 

Return Value

 

 

Type:

map

 

Map value.

 

 


hmtoggle_plus1Explanation

 


Supported


Script Action

Browser script

×

Calculation formula syntax

 

 


reference