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

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Reimplemented from FB::JSAPI.

Definition at line 164 of file IDispatchAPI.cpp.

165 {
166  // This will actually just return true if the specified member exists; IDispatch doesn't really
167  // differentiate further than that
168  return getIDForName(methodName) != -1;
169 }