# MapIndex

`interface MapIndex<K, V> : ``Index``<``Map``<``K``, ``V``>, ``K``, ``V``>`

Index instance definition for Map.

### Functions

 index `open fun index(i: ``K``): ``Optional``<``Map``<``K``, ``V``>, ``V``>`Get Optional focus A for a structure S at index i.

### Inherited Functions

 get `open operator fun ``Lens``<``T``, ``S``>.get(i: ``I``): ``Optional``<``T``, ``A``>`DSL to compose Index with a Lens for a structure S to focus in on A at given index I.`open operator fun ``Iso``<``T``, ``S``>.get(i: ``I``): ``Optional``<``T``, ``A``>`DSL to compose Index with an Iso for a structure S to focus in on A at given index I.`open operator fun ``Prism``<``T``, ``S``>.get(i: ``I``): ``Optional``<``T``, ``A``>`DSL to compose Index with a Prism for a structure S to focus in on A at given index I.`open operator fun ``Optional``<``T``, ``S``>.get(i: ``I``): ``Optional``<``T``, ``A``>`DSL to compose Index with an Optional for a structure S to focus in on A at given index I.`open operator fun ``Setter``<``T``, ``S``>.get(i: ``I``): ``Setter``<``T``, ``A``>`DSL to compose Index with a Setter for a structure S to focus in on A at given index I.`open operator fun ``Traversal``<``T``, ``S``>.get(i: ``I``): ``Traversal``<``T``, ``A``>`DSL to compose Index with a Traversal for a structure S to focus in on A at given index I.`open operator fun ``Fold``<``T``, ``S``>.get(i: ``I``): ``Fold``<``T``, ``A``>`DSL to compose Index with a Fold for a structure S to focus in on A at given index I. index `open fun ``Lens``<``T``, ``S``>.index(i: ``I``): ``Optional``<``T``, ``A``>`DSL to compose Index with a Lens for a structure S to focus in on A at given index I.`open fun ``Iso``<``T``, ``S``>.index(i: ``I``): ``Optional``<``T``, ``A``>`DSL to compose Index with an Iso for a structure S to focus in on A at given index I.`open fun ``Prism``<``T``, ``S``>.index(i: ``I``): ``Optional``<``T``, ``A``>`DSL to compose Index with a Prism for a structure S to focus in on A at given index I.`open fun ``Optional``<``T``, ``S``>.index(i: ``I``): ``Optional``<``T``, ``A``>`DSL to compose Index with an Optional for a structure S to focus in on A at given index I.`open fun ``Setter``<``T``, ``S``>.index(i: ``I``): ``Setter``<``T``, ``A``>`DSL to compose Index with a Setter for a structure S to focus in on A at given index I.`open fun ``Traversal``<``T``, ``S``>.index(i: ``I``): ``Traversal``<``T``, ``A``>`DSL to compose Index with a Traversal for a structure S to focus in on A at given index I.`open fun ``Fold``<``T``, ``S``>.index(i: ``I``): ``Fold``<``T``, ``A``>`DSL to compose Index with a Fold for a structure S to focus in on A at given index I.

### Companion Object Functions

 invoke `operator fun invoke(): ``MapIndex``<``K``, ``V``>`Operator overload to instantiate typeclass instance.