From 705c6d45f95408633c71bc0bcd6bc93c9d79a381 Mon Sep 17 00:00:00 2001 From: Paweł Marks Date: Sun, 16 Feb 2020 23:02:30 +0100 Subject: Renames DocumentationMerger and moves it to base plugin --- core/src/main/kotlin/utilities/genericUtils.kt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 core/src/main/kotlin/utilities/genericUtils.kt (limited to 'core/src/main/kotlin/utilities') diff --git a/core/src/main/kotlin/utilities/genericUtils.kt b/core/src/main/kotlin/utilities/genericUtils.kt new file mode 100644 index 00000000..e94e4e8f --- /dev/null +++ b/core/src/main/kotlin/utilities/genericUtils.kt @@ -0,0 +1,3 @@ +package org.jetbrains.dokka.utilities + +fun Pair.pullOutNull(): Pair? = first?.let { f -> second?.let { s -> f to s } } \ No newline at end of file -- cgit