diff options
Diffstat (limited to 'core/src/main/kotlin')
-rw-r--r-- | core/src/main/kotlin/utilities/safeEnumValueOf.kt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/src/main/kotlin/utilities/safeEnumValueOf.kt b/core/src/main/kotlin/utilities/safeEnumValueOf.kt deleted file mode 100644 index 9f4c23c9..00000000 --- a/core/src/main/kotlin/utilities/safeEnumValueOf.kt +++ /dev/null @@ -1,4 +0,0 @@ -package org.jetbrains.dokka.utilities - -inline fun <reified T : Enum<*>> enumValueOrNull(name: String): T? = - T::class.java.enumConstants.firstOrNull { it.name.equals(name, ignoreCase = true) }
\ No newline at end of file |