TakeWhile Method

RxJS

Returns values from an observable sequence as long as a specified condition is true, and then skips the remaining values.

Namespace:  Rx
Assembly:  RxJS (in RxJS.dll)

Syntax

JavaScript
function TakeWhile(predicate);

Parameters

predicate
Type: System..::.FuncObjectBoolean

See Also