ensureNeverFrozen
This function ensures that if we see such an object during freezing attempt - freeze fails and FreezingException is thrown.
Exceptions
FreezingException
- thrown immediately if this object is already frozen
See Also
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
This function ensures that if we see such an object during freezing attempt - freeze fails and FreezingException is thrown.
FreezingException
- thrown immediately if this object is already frozen
See Also