kweb-core
1.3.7
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
.
Constructors
Functions
Properties
Constructors
Reversible
Function
Link copied to clipboard
fun
ReversibleFunction
(
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
Properties
label
Link copied to clipboard
val
label
:
String