isInterface property

bool get isInterface

Whether the class is an interface class.

A class is an interface class if it has an explicit interface modifier, or the class has an interface induced modifier and isSealed is true as well. The interface modifier allows the class to be implemented, but not extended or mixed in.

Implementation

bool get isInterface;