CanBeEmpty

interface CanBeEmpty

可判断是否为空的对象接口

Since

Api 2

Inheritors

Functions

Link copied to clipboard
abstract fun isEmpty(): Boolean

判断对象是否为空

Link copied to clipboard
open fun isNotEmpty(): Boolean

判断对象是否不为空

Link copied to clipboard

判断可空的CanBeEmpty对象是否为null或空