Skip to main content
Module

x/rimbu/stream/custom/stream-custom.ts>isEmptyStreamSourceInstance

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
function isEmptyStreamSourceInstance
import { isEmptyStreamSourceInstance } from "https://deno.land/x/rimbu@0.13.1/stream/custom/stream-custom.ts";

Returns true if the given source StreamSource is known to be empty.

Parameters

source: StreamSource<unknown>
  • a StreamSource

Returns

boolean