getType

[ Function ]

public getType();

Returns the type of the symbol expression.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

TcHmi.SymbolType | null

Type of the symbol expression.

getType 1:

Available from version 1.10

Sample - JavaScript

var symbolExpression = new TcHmi.SymbolExpression('%i%MySymbol[0]::A::B%/i%');
var type = symbolExpression.getType();
console.log(type); // 20
console.log(TcHmi.SymbolType[type]); // Internal