done property

bool get done

Returns true if the machine has finished running.

Implementation

bool get done => stack.length <= 1 && stack.last.done;