Documentation / dataflow / com.femastudios.dataflow.extensions / any
Go to reference

any

fun <T> Field<Iterable<T>>.any(): Field<Boolean>
fun <T> Field<Iterable<T>>.any(predicate: (T) -> Boolean): Field<Boolean>
fun <K, V> Field<Map<K, V>>.any(): Field<Boolean>
fun <K, V> Field<Map<K, V>>.any(predicate: (Entry<K, V>) -> Boolean): Field<Boolean>

Same as any, but accepts Field and returns a new Field.

Calling this function is equivalent to use transform and calling any in the transformation function.

This is simply a convenience function.

See Also

kotlin.collections.any


fun <T> Field<Sequence<T>>.any(): Field<Boolean>
fun <T> Field<Sequence<T>>.any(predicate: (T) -> Boolean): Field<Boolean>

Same as any, but accepts Field and returns a new Field.

Calling this function is equivalent to use transform and calling any in the transformation function.

This is simply a convenience function.

See Also

kotlin.sequences.any


fun Field<String>.any(): Field<Boolean>
fun Field<String>.any(predicate: (Char) -> Boolean): Field<Boolean>

Same as any, but accepts Field and returns a new Field.

Calling this function is equivalent to use transform and calling any in the transformation function.

This is simply a convenience function.

See Also

kotlin.text.any