lightyear.defineactionprops.variables
Home > @runlightyear/lightyear > DefineActionProps > variables
DefineActionProps.variables property
An array of the variables on this action.
Variables are required to have a value by default. If you append a "?" to the end of the name, the variable will be optional. For example:
["requiredVar", "optionalVar?"]
Signature:variables?: Array<VariableDef>;