Skip to main content

lightyear.setvariable

Home > @runlightyear/lightyear > setVariable

setVariable() function

Set a variable on the current action or webhook.

Signature:

declare function setVariable(name: string, value: string | null): Promise<Response>;

Parameters

Parameter

Type

Description

name

string

value

string | null

Returns:

Promise<Response>