arrow-optics / arrow.optics / PIso / mapToSet

mapToSet

@JvmStatic fun <K> mapToSet(): Iso<Map<K, Unit>, Set<K>>

Iso that defines the equality between a Unit value Map and a Set with its keys

Do you like Arrow?

Arrow Org
<