arrow-optics / arrow.optics.extensions / MapAt / at

at

open fun at(i: K): Lens<Map<K, V>, Option<V>>

Get a Lens for a structure S with focus in A at index i.

Parameters

i - index I to zoom into S and find focus A

Return Lens with a focus in A at given index I.

Do you like Arrow?

Arrow Org
<