Daniel
05/30/2017, 12:09 PMfun isNewTarget(touched: Draft) = touched !== sourceTouched && touched !== targetTouched
might it be possible to simplify this?diesieben07
05/30/2017, 12:16 PMtouched !in setOf(sourceTouched, targetTouched)
, but that has some overhead obviously. Not sure if you can do much better than your version.Daniel
05/30/2017, 12:17 PMandyb
05/30/2017, 1:37 PM