isDeletion property

bool get isDeletion

Whether it is a pure deletion operation

Implementation

bool get isDeletion => newLength == 0;