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

x/rimbu/core/mod.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.2.0/core/mod.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[]]