6 lines
164 B
JavaScript
6 lines
164 B
JavaScript
module.exports.metastreamOf = function(stream) {
|
|
return '$$' + stream;
|
|
};
|
|
module.exports.isMetastream = function(stream) {
|
|
return stream.indexOf('$$') === 0;
|
|
}; |