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

x/rimbu/core/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@0.13.5/core/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.