dusa icon indicating copy to clipboard operation
dusa copied to clipboard

Dusa.prototype.assert() should return the dusa instance

Open robsimmons opened this issue 1 year ago • 0 comments

I'd like to allow the pattern

const iter = new Dusa(PROG).assert({ name: 'max', value: 100 }).solve();

which would be enabled if assert just returned this, much like what Array.prototype.sort does.

robsimmons avatar Dec 05 '24 21:12 robsimmons