toggle menu
lib
jvm
switch theme
search in API
kore
/
dev.buijs.klutter.kore.common
/
Either
Either
sealed
class
Either
<
T
,
R
>
Inheritors
EitherOk
EitherNok
Members
Members & Extensions
Types
Companion
Link copied to clipboard
object
Companion
Functions
input
Or
Throw
Link copied to clipboard
fun
<
T
,
R
>
Either
<
T
,
R
>
.
inputOrThrow
(
ok
:
(
EitherOk
<
T
,
R
>
)
->
R
,
nok
:
(
EitherNok
<
T
,
R
>
)
->
String
)
:
R
valid
Group
Name
Or
Throw
Link copied to clipboard
fun
GroupName
.
validGroupNameOrThrow
(
)
:
String
valid
Plugin
Name
Or
Throw
Link copied to clipboard
fun
PluginName
.
validPluginNameOrThrow
(
)
:
String
valid
Root
Folder
Or
Throw
Link copied to clipboard
fun
RootFolder
.
validRootFolderOrThrow
(
)
:
File