FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
bool FB::JSAPIProxy::HasMethod ( const std::string &  methodName) const

Query if the JSAPI object has the 'methodName' method.

methodNameName of the method.
true if method exists, false if not.

Implements FB::JSAPI.

Definition at line 155 of file JSAPIProxy.cpp.

156 {
157  FB::scoped_zonelock _l(getAPI(), getZone());
158  return getAPI()->HasMethod(methodName);
159 }
Provides a helper class for locking.
Definition: JSAPI.h:548
virtual SecurityZone getZone() const
Gets the currently active zone.
Definition: JSAPIImpl.h:238