Miscellaneous

identifyexecutor

Returns two strings: the executor name followed by the executor version.

Cú pháp

identifyexecutor(): string | string

Giá trị trả về

TênKiểuMô tả
executorNamestringExecutor name string.
executorVersionstringExecutor version string.

Mô tả

Returns two strings: the executor name followed by the executor version.

Goi khong can parameter. Function doc context can thiet tu runtime state hien tai.

Tra ve executorName (string), executorVersion (string). Dung bang returns de tach gia tri thanh cong, ket qua nil va loi co the xu ly.

Ví dụ

Read Real's executor name and version as two return values.

local name, version = identifyexecutor()
print(name, version)