core
1.0-RC1
common
core
/
dev.fritz2.core
/
lens
lens
common
inline
fun
<
P
,
T
>
lens
(
id
:
String
,
crossinline
getter
:
(
P
)
->
T
,
crossinline
setter
:
(
P
,
T
)
->
P
)
:
Lens
<
P
,
T
>
Content copied to clipboard
convenience function to create a
Lens
Parameters
id
of the
Lens
getter
of the
Lens
setter
of the
Lens