Skip to main content

importVariableByKeyAsync

Loads a variable from the team library. Promise is rejected if there is no published variable with that key or if the request fails.

Signature​

importVariableByKeyAsync(key: string): Promise<Variable>

Parameters​

key​

the key of the variable to import.