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