Arrow
Toggle table of contents
2.0.0
common
Platform filter
common
Switch theme
Search in API
Arrow
arrow-optics
/
arrow.optics
/
PPrism
/
Companion
/
only
only
fun
<
A
>
only
(
a
:
A
,
eq
:
(
constant
:
A
,
other
:
A
)
->
Boolean
=
{ aa, b -> aa == b }
)
:
Prism
<
A
,
Unit
>
A
PPrism
that checks for equality with a given value
a