isInterface function

bool isInterface(
  1. InterfaceElement clazz
)

Implementation

bool isInterface(InterfaceElement clazz) {
  return clazz is ClassElement && clazz.isAbstract;
}