kotlin-stdlib / kotlin.native.ref / WeakReference / clear clear Native 1.3 fun clear ( ) (source) Clears reference to an object.