Skip to main content
Module

x/rxjs/mod.ts>takeWhile

Deno port of RXJS
Latest
function takeWhile
import { takeWhile } from "https://deno.land/x/rxjs@v1.0.2/mod.ts";

Parameters

predicate: BooleanConstructor
inclusive: true

Parameters

predicate: BooleanConstructor
inclusive: false

Type Parameters

T
S extends T

Parameters

predicate: (value: T, index: number) => value is S

Type Parameters

T
S extends T

Parameters

predicate: (value: T, index: number) => value is S
inclusive: false

Parameters

predicate: (value: T, index: number) => boolean
optional
inclusive: boolean