Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/rimbu/stream/mod.ts>Streamable.NonEmpty

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

An object that can create a non-empty Stream of elements of type T.

Methods

stream(): Stream.NonEmpty<T>

Returns a non-empty Stream of the elements in this collection.