Initial commit
commit
566a68d126
@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = function isAborted(value) {
|
||||
return (
|
||||
value != null
|
||||
&& typeof value === "object"
|
||||
&& value.__ppstreams_isAbortedMarker === true
|
||||
);
|
||||
};
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "@ppstreams/is-aborted",
|
||||
"version": "0.1.0",
|
||||
"main": "index.js",
|
||||
"repository": "http://git.cryto.net/ppstreams/is-aborted.git",
|
||||
"author": "Sven Slootweg <admin@cryto.net>",
|
||||
"license": "WTFPL OR CC0-1.0"
|
||||
}
|
Loading…
Reference in New Issue