isFrozen

actual val Any?.isFrozen: Boolean(source)

Checks if given object is null or frozen or permanent (i.e. instantiated at compile-time).

Since Kotlin

1.3

Return

true if given object is null or frozen or permanent