isModule property

bool get isModule

Whether this occurrence has sub-hierarchy (i.e. is not a primitive leaf).

Implementation

bool get isModule => !occurrence.isPrimitive;