How to Close All Active Edits?

We had discussed the absence of the “Close All” command previously (I think on SketchUcation.) And I believe I had posted a snippet then. But instead of tracking it down, I just whipped out another example.

See: [code] Example command to close all active edits

(geekpin right-side-up)