Skip to content

isStream

@tsed/core

Usage ​

typescript
import { isStream } from "@tsed/core";

See /packages/core/src/utils/isStream.ts.

Overview ​

ts
function isStream(obj: any): boolean;

Description ​

Checks if an object is a Node.js stream by verifying the pipe method exists.

Released under the MIT License.