toggle menu
kweb-core
1.4.12
jvm
switch theme
search in API
kweb-core
/
kweb.state
/
ReversibleFunction
Reversible
Function
abstract
class
ReversibleFunction
<
Input
,
Output
>
(
val
label
:
String
)
(
source
)
Defines a reversible function, for use by
KVar.map
.
Members
Constructors
Reversible
Function
Link copied to clipboard
constructor
(
label
:
String
)
Properties
label
Link copied to clipboard
val
label
:
String
Functions
invoke
Link copied to clipboard
abstract
operator
fun
invoke
(
from
:
Input
)
:
Output
reverse
Link copied to clipboard
abstract
fun
reverse
(
original
:
Input
,
change
:
Output
)
:
Input