Go to reference
first
fun Attribute<CharProgression>.first(): Attribute<Char>
Same as first, but returns a new Attribute
See Also
kotlin.ranges.CharProgression.first
fun Attribute<IntProgression>.first(): Attribute<Int>
Same as first, but returns a new Attribute
See Also
kotlin.ranges.IntProgression.first
fun <T> Attribute<Iterable<T>>.first(): Attribute<T>
fun <T> Attribute<Iterable<T>>.first(predicate: (T) -> Boolean): Attribute<T>
fun <T> Attribute<List<T>>.first(): Attribute<T>
Same as first, but accepts Attribute and returns a new Attribute.
Calling this function is equivalent to use transform and calling first in the transformation function.
This is simply a convenience function.
See Also
fun Attribute<LongProgression>.first(): Attribute<Long>
Same as first, but returns a new Attribute
See Also
kotlin.ranges.LongProgression.first
fun <A> Attribute<Pair<A, *>>.first(): Attribute<A>
Same as first, but returns a new Attribute
See Also
fun <T> Attribute<Sequence<T>>.first(): Attribute<T>
fun <T> Attribute<Sequence<T>>.first(predicate: (T) -> Boolean): Attribute<T>
Same as first, but accepts Attribute and returns a new Attribute.
Calling this function is equivalent to use transform and calling first in the transformation function.
This is simply a convenience function.
See Also
fun Attribute<String>.first(): Attribute<Char>
fun Attribute<String>.first(predicate: (Char) -> Boolean): Attribute<Char>
Same as first, but accepts Attribute and returns a new Attribute.
Calling this function is equivalent to use transform and calling first in the transformation function.
This is simply a convenience function.
See Also
fun <A> Attribute<Triple<A, *, *>>.first(): Attribute<A>
Same as first, but returns a new Attribute
See Also