isElement property

bool get isElement

Whether this is a pseudo-element selector.

This is true if and only if isClass is false.

Implementation

bool get isElement => !isClass;