Add production dependencies
This commit is contained in:
parent
5a0114f3e2
commit
579ccdc29f
12113 changed files with 978046 additions and 3 deletions
10
node_modules/es5-ext/boolean/is-boolean.js
generated
vendored
Normal file
10
node_modules/es5-ext/boolean/is-boolean.js
generated
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
"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))
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue