Return the first N elements of this Array that don't satisfy the given predicate.

Synopsis

Declared in <llvm/ADT/ArrayRef.h>

template<class PredicateT>
MutableArrayRef<T>
take_until(PredicateT Pred) const;

Return Value

Prefix of elements that do not satisfy Pred.

Parameters

Name

Description

Pred

Predicate that stops taking when it returns true.

Created with MrDocs