/** * @packageDocumentation * @module Boolean */ import { MonoTypeOperatorFunction } from 'rxjs'; import { PredicateFn } from '../types/boolean'; /** * Returns an Observable that emits only values from a source that does not pass the passed predicate * * @category Filter * * @typeParam T Type of the value from the source Observable * * @param predicate Optional [[PredicateFn]] function to compared the values against * * @example * Returns a number value from a source where the number does not pass the predicate * ```ts * const mod2 = (num: number) => num % 2 === 0 * const input = [0, 1, 2, 3, 4, 5, 6]; * from(input).pipe(filterFalsy(mod2)).subscribe(); * ``` * Output: `1, 3, 5` * * @returns Observable that emits only values that don't pass the [[PredicateFn]] */ export declare function filterFalsy(predicate: PredicateFn): MonoTypeOperatorFunction;