Skip to main content

getVariableByIdAsync

Finds a variable by ID. If not found or the provided ID is invalid, returns a promise containing null.

Signature​

getVariableByIdAsync(id: string): Promise<Variable | null>

Parameters​

id​

The variable ID to search for, which represents a unique identifier for the variable.