kotest-assertions-arrow / io.kotest.assertions.arrow.refinements / beRefinedBy

beRefinedBy

fun <F, A> A.beRefinedBy(refinement: Refinement<F, A>): Matcher<A>

Creates a Matcher for A given the refinement rules