representsInterfaceType property

bool get representsInterfaceType

Returns true if this reference type represents a class, mixin, or enum.

Implementation

bool get representsInterfaceType {
  return this == $class || this == $mixin || this == $enum;
}