Brian, I think what you want is something like (ps...
# kotlintest
l
Brian, I think what you want is something like (pseudo code) collection.ensureOne { it.matches.foo }.andThenWithIt { it.bar }