Bridge.getVariableOf()

특정 스크립트의 전역 스코프 특정 멤버가 존재하는지의 여부를 반환합니다.

구문

JavaScript

Bridge.getVariableOf(scriptName, variable);

매개변수

scriptName String

스크립트의 이름

variable String

존재 여부를 확인할 멤버의 이름

반환값

Boolean - scriptName 스크립트의 전역 스코프에 멤버 variable이 존재할 경우 true, 존재하지 않을 경우 false를 반환합니다.

호환성