kcp-development
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
kcp-development
core
/
dev.rnett.kcp.development.options
/
CompilerOptionsHost
/
singular
singular
fun
<
T
>
singular
(
name
:
String
,
valueDescription
:
String
,
description
:
String
,
required
:
Boolean
=
true
,
transform
:
(
String
)
->
T
?
)
:
Lazy
<
CompilerOption.Singular
<
T
&
Any
>
>
(
source
)
fun
<
T
>
singular
(
name
:
String
,
defaultValue
:
T
,
valueDescription
:
String
,
description
:
String
,
transform
:
(
String
)
->
T
?
)
:
Lazy
<
CompilerOption.SingularWithDefault
<
T
>
>
(
source
)