    

 ## On this page

  

 

 # Variant

 Last update: 30.07.2026 

constructor(type: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), value: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html))

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Constructor

#### Parameters

type- An integer representing the (ModelCenter)type of this variable. Should be one of the following:   
- DOUBLE - INT - STRING - BOOLEAN - REFERENCE - DOUBLE\_ARRAY - INT\_ARRAY - LONG\_ARRAY - STRING\_ARRAY - BOOLEAN\_ARRAY - REFERENCE\_ARRAYvalue- An Object containing the value of the appropriate type.