Utilities

getexecutorname

Returns the public executor name.

Syntax

getexecutorname(): string

Returns

NameTypeDescription
executorNamestringExecutor 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)