chushihua

This commit is contained in:
li
2026-01-26 23:20:48 +08:00
commit 7b5aab0206
22521 changed files with 3300090 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
"use strict";
var objToString = Object.prototype.toString
, toStringTagSymbol = require("es6-symbol").toStringTag
, id = "[object Set]"
, Global = typeof Set === "undefined" ? null : Set;
module.exports = function (value) {
return (
(value &&
((Global && (value instanceof Global || value === Global.prototype)) ||
objToString.call(value) === id ||
value[toStringTagSymbol] === "Set")) ||
false
);
};