this.getVariableValueByName( variableName ) method

Gets the value of the variable with the given name.

If this hwc.ClientVariables does not have a variable by the given name, a hwc.ClientVariablesException will be thrown.

Syntax

<static> this.getVariableValueByName( variableName ) → {string}

Parameters

Name Type Description
variableName string The name of the variable to get the value of.

Throws

Returns

The value of the variable.

Type:

string

Source

hwc-api.js, line 2092.