toggle menu
KAHelpers
jvm
switch theme
search in API
enums
/
dev.funkymuse.enums
Package-level
declarations
Functions
Functions
convert
Link copied to clipboard
inline
fun
<
T
:
Enum
<
T
>
>
convert
(
ord
:
Int
)
:
T
enum
Value
Of
Or
Null
Link copied to clipboard
inline
fun
<
E
:
Enum
<
E
>
>
enumValueOfOrNull
(
name
:
String
)
:
E
?
Returns an enum entry with specified name.
find
Link copied to clipboard
inline
fun
<
T
:
Enum
<
T
>
>
find
(
predicate
:
(
item
:
T
)
->
Boolean
)
:
T
?
first
Link copied to clipboard
inline
fun
<
T
:
Enum
<
T
>
>
first
(
predicate
:
(
item
:
T
)
->
Boolean
)
:
T