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46
0.1.45
0.1.44
0.1.43
0.1.42
0.1.41
0.1.40
0.1.39
0.1.38
0.1.37
0.1.36
0.1.35
0.1.34
0.1.33
0.1.32
0.1.31
0.1.30
0.1.29
0.1.27
0.1.26
0.1.25
0.1.24
0.1.23
0.1.22
0.1.21
0.1.20
0.1.19
0.1.18
0.1.17
0.1.16
0.1.15
0.1.14
0.1.13
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
[a]synchronous functional programming
rubico.land
a-synchronous/rubico
rubico
/
_internal
/
isNodeReadStream.js
13 lines
(11 loc)
•
288 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
/** *
@name
isNodeReadStream * *
@synopsis
* isNodeReadStream(value any) -> boolean * *
@description
* Determine whether a value is a Node.js Readable Stream. */
const
isNodeReadStream
=
value => value !=
null
&& typeof value.pipe ==
'function'
module
.
exports
= isNodeReadStream