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.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
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