core / pragma / applicationRequireNotNull /

applicationRequireNotNull #

inline fun <T : Any> applicationRequireNotNull(value: T?, lazyError: () -> GeneratedMessageV3): T

Throws an ApplicationErrorException if the value is null. Otherwise, returns the not null value. Similar to kotlin.requireNotNull