ifEmpty

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

为空抛出异常

Parameters

object

对象

errorMsg

错位描述

Throws

业务异常