isInsertion property

bool get isInsertion

Whether it is a pure insertion operation

Implementation

bool get isInsertion => oldLength == 0;