of

inline fun <T : Any> of(): T?(source)

Return the undefined value for class T. See more details in the class level document.

Note: this function never returns null, but we have to mark it as nullable to ensure we are always boxing JVM primitive types and Kotlin inline classes.