toggle menu
modelix.core
8.16.0
common
js
jvm
switch theme
search in API
model-api
/
org.modelix.model.api
/
ContextValue
Context
Value
common
js
jvm
expect
class
ContextValue
<
E
>
Deprecated
use org.modelix.kotlin.utils.ContextValue from org.modelix:kotlin-utils
actual
class
ContextValue
<
E
>
actual
class
ContextValue
<
E
>
Members
Constructors
Context
Value
Link copied to clipboard
common
js
jvm
expect
constructor
(
)
expect
constructor
(
defaultValue
:
E
)
actual
constructor
(
)
actual
constructor
(
defaultValue
:
E
)
actual
constructor
(
)
actual
constructor
(
defaultValue
:
E
)
Properties
all
Values
Link copied to clipboard
jvm
val
allValues
:
Iterable
<
E
>
Functions
compute
With
Link copied to clipboard
common
js
jvm
expect
fun
<
T
>
computeWith
(
newValue
:
E
,
r
:
(
)
->
T
)
:
T
actual
fun
<
T
>
computeWith
(
newValue
:
E
,
r
:
(
)
->
T
)
:
T
actual
fun
<
T
>
computeWith
(
newValue
:
E
,
r
:
(
)
->
T
)
:
T
get
Value
Link copied to clipboard
common
js
jvm
expect
fun
getValue
(
)
:
E
?
actual
fun
getValue
(
)
:
E
?
actual
fun
getValue
(
)
:
E
?