fun <T : Iterable<E>, E> Builder<T>.first(): Builder<E>
Maps this assertion to an assertion over the first element in the subject iterable.
See Also
infix fun <T : Iterable<E>, E> Builder<T>.first(predicate: (E) -> Boolean): Builder<E>
Maps this assertion to an assertion over the first element in the subject iterable that matches predicate.
strikt.internal.opentest4j.MappingFailed - if no elements match predicate.
See Also
val <A, B> Builder<Pair<A, B>>.first: Builder<A>
Maps an assertion on a Pair to an assertion on its Pair.first property.
val <A, B, C> Builder<Triple<A, B, C>>.first: Builder<A>
Maps an assertion on a Triple to an assertion on its Triple.first property.