Utilities

identifyexecutor

Returns the executor name and version.

Syntax

identifyexecutor(): string | string

Returns

NameTypeDescription
executorNamestringExecutor display name.
executorVersionstringExecutor version string.

Description

Returns the executor name and version.

Call it without parameters. The function reads the needed context from the current runtime state.

It returns executorName (string), executorVersion (string). Use the returns table to separate successful values from nil results and recoverable errors.

Example

Example call with placeholder values.

local result = identifyexecutor()
print(result)