SnippetContext.getVariable

Gets the current value for a variable named key.

class SnippetContext
string
getVariable
(
string key
)

Parameters

key string

the name of the variable

Return Value

Type: string

the value for the variable, or null