Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/stream/main/stream-source.ts>StreamSource.NonEmpty

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias StreamSource.NonEmpty
import { type StreamSource } from "https://deno.land/x/rimbu@1.0.0/stream/main/stream-source.ts";
const { NonEmpty } = StreamSource;

Any object that is a non-empty Stream, can produce a non-empty Stream, or is a non-empty array.

definition: Stream.NonEmpty<T> | Streamable.NonEmpty<T> | readonly [T, ...T[]]