isInterface abstract method

bool isInterface()

Checks if this class is an interface (abstract with no concrete members).

Returns:

  • true if the class serves as a pure interface
  • false for classes with implementations

Example:

interface class PureInterface {
  void method();
}

Implementation

bool isInterface();