SequenceT, TSelfWhile Method

Get the initial values of a sequence that satisfy a predicate.

Definition

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.0.7+756ac00bd735a3d50b512f9783554e4df56ee7bd
C#
public abstract TSelf While(
	Func<T, bool> predicate
)

Parameters

predicate  FuncT, Boolean
The predicate to be satisfied.

Return Value

TSelf
A prefix of the original sequence.

See Also