Syntax
getexecutorname(): stringReturns
| Name | Type | Description |
|---|---|---|
executorName | string | Executor display name. |
Description
Returns the public executor name.
Call it without parameters. The function reads the needed context from the current runtime state.
It returns executorName (string). Use the returns table to separate successful values from nil results and recoverable errors.
Example
Example call with placeholder values.
local result = getexecutorname()
print(result)