Skip to main content
Module

x/rimbu/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.14.0/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.