toggle menu
Arrow
1.2.4
common
switch theme
search in API
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
>
(
source
)
A
PPrism
that checks for equality with a given value
a