Current Folder
This commit is contained in:
1 parent
8b3382289b
commit
cfcada880d
4379 files changed
No files matched your search
-3
@@ -1,3 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = { isBoolean: require("./is-boolean") };
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
var objToString = Object.prototype.toString, id = objToString.call(true);
|
||||
|
||||
module.exports = function (value) {
|
||||
return (
|
||||
typeof value === "boolean" ||
|
||||
(typeof value === "object" && (value instanceof Boolean || objToString.call(value) === id))
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user