highland: add a test for the new isNil()

This commit is contained in:
Alvis HT Tang
2018-03-22 23:54:08 +00:00
parent e1806c890e
commit a16cd3ea32

View File

@@ -337,6 +337,8 @@ fooStream.toCallback((err: Error) => {});
// UTILS
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool = _.isNil(x);
bool = _.isStream(x);
bool = _.isStream(fooStream);