UNPKG
csf
Version:
beta (0.1.0-alpha.4)
latest (0.1.0-alpha.3)
0.1.0-alpha.4
0.1.0-alpha.3
0.1.0-alpha.2
0.1.0-alpha.1
0.1.0-alpha
0.0.1
Generator based flow control with context providing
github.com/morulus/csf
morulus/csf
csf
/
lib
/
is-channel.js
13 lines
(10 loc)
•
290 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
default
= isChannel;
var
_constants =
require
(
"./constants"
);
function
isChannel
(
smth
) {
return
smth &&
typeof
smth ===
"function"
&& smth[_constants.
CHANNEL
]; }
module
.
exports
=
exports
[
"default"
];