toggle menu
lib
jvm
switch theme
search in API
kore
/
dev.buijs.klutter.kore.common
/
EitherNok
Either
Nok
data
class
EitherNok
<
T
,
R
>
(
val
data
:
T
)
:
Either
<
T
,
R
>
Members
Members & Extensions
Constructors
Either
Nok
Link copied to clipboard
constructor
(
data
:
T
)
Properties
data
Link copied to clipboard
val
data
:
T
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