aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/utilities
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/kotlin/utilities')
-rw-r--r--core/src/main/kotlin/utilities/safeEnumValueOf.kt4
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