ensureNeverFrozen
This function ensures that if we see such an object during freezing attempt - freeze fails and FreezingException is thrown.
Since Kotlin
1.3See also
Throws
thrown immediately if this object is already frozen
This function ensures that if we see such an object during freezing attempt - freeze fails and FreezingException is thrown.
thrown immediately if this object is already frozen
Thanks for your feedback!