requireNotNull

inline fun <T : Any> T?.requireNotNull(): T
inline fun <T : Any> T?.requireNotNull(lazyMessage: () -> Any): T

Sources

Link copied to clipboard
Link copied to clipboard