api / org.gradle.api.file / FileCollection / isEmpty

isEmpty

abstract fun isEmpty(): Boolean

Returns true if this collection is empty. Generally, calling this method is more efficient than calling getFiles().isEmpty().

Return
true if this collection is empty, false otherwise.