Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
state
/
com.monkopedia.kodemirror.state
/
Facet
/
Companion
/
define
define
fun
<
Input
,
Output
>
define
(
combine
:
(
List
<
Input
>
)
->
Output
?
=
null
,
compare
:
(
Output
,
Output
)
->
Boolean
?
=
null
,
compareInput
:
(
Input
,
Input
)
->
Boolean
?
=
null
,
static
:
Boolean
=
false
,
enables
:
FacetEnabler
<
Input
,
Output
>
?
=
null
)
:
Facet
<
Input
,
Output
>
Define a new facet.