toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.memory
/
WeakRef
Weak
Ref
external
class
WeakRef
<
T
:
Any
>
(
target
:
T
)
(
source
)
Members
Constructors
Weak
Ref
Link copied to clipboard
constructor
(
target
:
T
)
Functions
deref
Link copied to clipboard
fun
deref
(
)
:
T
?
Returns the WeakRef instance's target object, or undefined if the target object has been reclaimed.