core
/
dev.fritz2.lenses
/
buildLens
common
build
Lens
inline fun <
P
,
T
>
buildLens
(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
getter
of the
Lens
id
of the
Lens
setter
of the
Lens