Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
16 lines
194 B
Plaintext
16 lines
194 B
Plaintext
'use strict';
|
|
|
|
function isStream(stream) {
|
|
if (!stream) {
|
|
return false;
|
|
}
|
|
|
|
if (typeof stream.pipe !== 'function') {
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
module.exports = isStream;
|