com.neko233.config233.utils.CollectionUtilsForConfig233.kt Maven / Gradle / Ivy
The newest version!
package com.neko233.config233.utils
object CollectionUtilsForConfig233 {
@JvmStatic
fun isEmpty(collection: Collection?): Boolean {
return collection == null || collection.isEmpty()
}
@JvmStatic
fun isNotEmpty(collection: Collection?): Boolean {
return !isEmpty(collection)
}
}