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

drop

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

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

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> Attribute<Sequence<T>>.drop(n: Attribute<Int>): Attribute<Sequence<T>>
fun <T> Attribute<Sequence<T>>.drop(n: Int): Attribute<Sequence<T>>

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

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 Attribute<String>.drop(n: Attribute<Int>): Attribute<String>
fun Attribute<String>.drop(n: Int): Attribute<String>

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

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