isWeakSupported
Whether the platform provides real weak semantics.
true on JVM, Android, Apple/Native, and JS runtimes with WeakRef. false on Kotlin/Wasm and on JS runtimes older than ES2021, where no weak primitive exists: there WeakRef holds its referent strongly and get returns non-null until clear.
Whether the platform provides real weak semantics.
true on JVM, Android, Apple/Native, and JS runtimes with WeakRef. false on Kotlin/Wasm and on JS runtimes older than ES2021, where no weak primitive exists: there WeakRef holds its referent strongly and get returns non-null until clear.
Whether the platform provides real weak semantics.
true on JVM, Android, Apple/Native, and JS runtimes with WeakRef. false on Kotlin/Wasm and on JS runtimes older than ES2021, where no weak primitive exists: there WeakRef holds its referent strongly and get returns non-null until clear.
Whether the platform provides real weak semantics.
true on JVM, Android, Apple/Native, and JS runtimes with WeakRef. false on Kotlin/Wasm and on JS runtimes older than ES2021, where no weak primitive exists: there WeakRef holds its referent strongly and get returns non-null until clear.
Whether the platform provides real weak semantics.
true on JVM, Android, Apple/Native, and JS runtimes with WeakRef. false on Kotlin/Wasm and on JS runtimes older than ES2021, where no weak primitive exists: there WeakRef holds its referent strongly and get returns non-null until clear.