ifNull

open fun ifNull(object: Any, errorMsg: String)

对象为空则抛出异常