W3cubDocs

/Kotlin

isCompanion

Platform and version requirements: JVM (1.1)
abstract val isCompanion: Boolean

true if this class is a companion object. See the Kotlin language documentation for more information.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/is-companion.html