aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/model/documentableUtils.kt
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/kotlin/model/documentableUtils.kt')
-rw-r--r--core/src/main/kotlin/model/documentableUtils.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/main/kotlin/model/documentableUtils.kt b/core/src/main/kotlin/model/documentableUtils.kt
index e32605ca..076ca23a 100644
--- a/core/src/main/kotlin/model/documentableUtils.kt
+++ b/core/src/main/kotlin/model/documentableUtils.kt
@@ -19,3 +19,5 @@ fun DTypeParameter.filter(filteredSet: Set<DokkaSourceSet>) =
extra
)
}
+
+fun Documentable.isExtension() = this is Callable && receiver != null \ No newline at end of file