onEachLaw

inline fun <A, C : Collection<A>> C.onEachLaw(action: (A) -> Unit): C