Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 368 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 368 Bytes

@typed/is-stream

Duck-typing check if a value is a Most.js Stream

Let me have it!

npm install --save @typed/is-stream

Usage

import { isStream } from '@typed/is-stream';
import { just } from 'most';


isStream(just(1)) // true
isStream([]) // false
isStream({}) // false