UNPKG

rimmel

Version:

A Streams-Oriented UI library for the Rx.Observable Universe

6 lines 297 B
import type { BehaviorSubject } from "../types/futures"; /** * Get the current value from the given object if it's a BehaviorSubject, otherwise undefined */ export declare const currentValue: <T>(stream: BehaviorSubject<T> | unknown) => T | undefined; //# sourceMappingURL=current-value.d.ts.map