Skip to content

TylorS/is-stream

Repository files navigation

@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 

About

Duck-checking if a value is a Most.js Stream

Resources

License

Stars

Watchers

Forks

Packages