Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether a class implements a specified interface type.
var implementsVar = typeInstanceVar.implementsInterface(interfaceType)
Parameters
- interfaceType
The interface to test.
Return Value
true if the class implements interfaceType; otherwise, false.
Remarks
Use the implementsInterface method to determine whether a class implements a specific interface. The implementsInterface method verifies both the registered interfaces and registered base class interfaces of the current class.
Description
The following example shows how to use the implementsInterface method to determine whether a class implements a specific interface.