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<node_fetch.Response>;

Parameters

ParameterTypeDescription
namestring
valuestring | null
Returns:

Promise<node_fetch.Response>