![JAR search and dependency download from the Maven repository](/logo.png)
ru.hnau.jutils.producer.extensions.int.producerExtensionsIntArray.kt Maven / Gradle / Ivy
package ru.hnau.jutils.producer.extensions.int
import ru.hnau.jutils.producer.Producer
import ru.hnau.jutils.producer.extensions.filter
fun Producer.callIfEmpty() = callIf { it.isEmpty() }
fun Producer.callIfNullOrEmpty() = callIf { it?.isEmpty() != false }
fun Producer.filterNotEmpty() = filter { it.isNotEmpty() }
fun Producer.mapIsEmpty() = map { it.isEmpty() }
© 2015 - 2025 Weber Informatics LLC | Privacy Policy