← Docs
kotlin-stdlib / kotlin.native.ref / WeakReference / get

get

Native
1.3
fun get ( ) : T ?
(source)

Returns either reference to an object or null, if it was collected.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .