OptionalemitEmit an error when the script is missing referenced variables. Defaults to 'true'.
OptionalfeatureOptional only required when the script references the "$feature" variable.
OptionallayerOptional only required when the script references the "$layer" or "$datastore" variable.
OptionalmapOptional only required when the script references the "$map" variable.
OptionalspatialOptional only required when the script references the "$map", "$layer" or "$datastore" variables.
OptionalvarsAdditional Arcade arguments to attach to the script when run.
Parameters for the runArcadeExpression and runAsyncArcadeExpression functions.