NSequenceWhile 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 override NSequence While(
	Func<int, bool> predicate
)

Parameters

predicate  FuncInt32, Boolean
The predicate to be satisfied.

Return Value

NSequence
A prefix of the original sequence.

See Also