toggle menu
fritz2
common
switch theme
search in API
core
/
dev.fritz2.core
/
lensForUpcasting
lens
For
Upcasting
inline
fun
<
P
,
C
:
P
>
lensForUpcasting
(
)
:
Lens
<
P
,
C
>
create a
Lens
for upcasting a base (sealed) class or interface to a specific subtype.