유틸리티

getexecutorname

공개 실행자 이름을 반환합니다.

문법

getexecutorname(): string

반환값

이름타입설명
executorNamestring실행자 표시 이름입니다.

설명

공개 실행자 이름을 반환합니다.

파라미터 없이 호출합니다. 함수는 현재 runtime 상태에서 필요한 context를 읽습니다.

executorName (string)을 반환합니다. 반환 표를 사용해 성공 값, nil 결과, 복구 가능한 오류를 구분하세요.

예제

자리 표시자 값을 사용하는 예제 호출입니다.

local result = getexecutorname()
print(result)