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

drop

fun <T> Field<Iterable<T>>.drop(n: Field<Int>): Field<List<T>>
fun <T> Field<Iterable<T>>.drop(n: Int): Field<List<T>>

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

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

This is simply a convenience function.

See Also

kotlin.collections.drop


fun <T> Field<Sequence<T>>.drop(n: Field<Int>): Field<Sequence<T>>
fun <T> Field<Sequence<T>>.drop(n: Int): Field<Sequence<T>>

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

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

This is simply a convenience function.

See Also

kotlin.sequences.drop


fun Field<String>.drop(n: Field<Int>): Field<String>
fun Field<String>.drop(n: Int): Field<String>

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

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

This is simply a convenience function.

See Also

kotlin.text.drop