first commit
This commit is contained in:
68
build/node_modules/is-falsey-x/lib/is-falsey-x.js
generated
vendored
Normal file
68
build/node_modules/is-falsey-x/lib/is-falsey-x.js
generated
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.returnExports = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file Test if a given value is falsey.
|
||||
* @version 1.0.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module is-falsey-x
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
var toBoolean = _dereq_('to-boolean-x');
|
||||
|
||||
/**
|
||||
* This method tests if a given value is falsey.
|
||||
*
|
||||
* @param {*} value - The value to test.
|
||||
* @returns {boolean} `true` if the value is falsey: otherwise `false`.
|
||||
* @example
|
||||
* var isFalsey = require('is-falsey-x');
|
||||
*
|
||||
* isFalsey(); // true
|
||||
* isFalsey(0); // true
|
||||
* isFalsey(''); // true
|
||||
* isFalsey(false); // true
|
||||
* isFalsey(null); // true
|
||||
*
|
||||
* isFalsey(true); // false
|
||||
* isFalsey([]); // false
|
||||
* isFalsey(1); // false
|
||||
* isFalsey(function () {}); // false
|
||||
*/
|
||||
module.exports = function isFalsey(value) {
|
||||
return toBoolean(value) === false;
|
||||
};
|
||||
|
||||
},{"to-boolean-x":2}],2:[function(_dereq_,module,exports){
|
||||
/**
|
||||
* @file Converts argument to a value of type Boolean.
|
||||
* @version 1.0.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module to-boolean-x
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* The abstract operation ToBoolean converts argument to a value of type Boolean.
|
||||
*
|
||||
* @param {*} value - The value to be converted.
|
||||
* @returns {boolean} 'true' if value is truthy; otherwise 'false'.
|
||||
* @example
|
||||
* var toBoolean = require('to-boolean-x');
|
||||
*
|
||||
* toBoolean(null); // false
|
||||
* toBoolean(''); // false
|
||||
* toBoolean(1); // true
|
||||
* toBoolean('0'); // true
|
||||
*/
|
||||
module.exports = function toBoolean(value) {
|
||||
return !!value;
|
||||
};
|
||||
|
||||
},{}]},{},[1])(1)
|
||||
});
|
||||
17
build/node_modules/is-falsey-x/lib/is-falsey-x.min.js
generated
vendored
Normal file
17
build/node_modules/is-falsey-x/lib/is-falsey-x.min.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).returnExports=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(_dereq_,module,exports){/**
|
||||
* @file Test if a given value is falsey.
|
||||
* @version 1.0.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module is-falsey-x
|
||||
*/
|
||||
"use strict";var toBoolean=_dereq_("to-boolean-x");module.exports=function isFalsey(value){return!1===toBoolean(value)}},{"to-boolean-x":2}],2:[function(_dereq_,module,exports){/**
|
||||
* @file Converts argument to a value of type Boolean.
|
||||
* @version 1.0.1
|
||||
* @author Xotic750 <Xotic750@gmail.com>
|
||||
* @copyright Xotic750
|
||||
* @license {@link <https://opensource.org/licenses/MIT> MIT}
|
||||
* @module to-boolean-x
|
||||
*/
|
||||
"use strict";module.exports=function toBoolean(value){return!!value}},{}]},{},[1])(1)});
|
||||
1
build/node_modules/is-falsey-x/lib/is-falsey-x.min.js.map
generated
vendored
Normal file
1
build/node_modules/is-falsey-x/lib/is-falsey-x.min.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["lib/is-falsey-x.js"],"names":["f","exports","module","define","amd","window","global","self","this","returnExports","e","t","n","r","s","o","u","a","require","i","Error","code","l","call","length","1","_dereq_","toBoolean","isFalsey","value","to-boolean-x","2"],"mappings":"CAAA,SAAUA,GAAG,GAAoB,iBAAVC,SAAoC,oBAATC,OAAsBA,OAAOD,QAAQD,SAAS,GAAmB,mBAATG,QAAqBA,OAAOC,IAAKD,UAAUH,OAAO,EAA0B,oBAATK,OAAwBA,OAA+B,oBAATC,OAAwBA,OAA6B,oBAAPC,KAAsBA,KAAYC,MAAOC,cAAgBT,MAAO,WAAqC,OAAO,SAAUU,EAAEC,EAAEC,EAAEC,GAAG,SAASC,EAAEC,EAAEC,GAAG,IAAIJ,EAAEG,GAAG,CAAC,IAAIJ,EAAEI,GAAG,CAAC,IAAIE,EAAkB,mBAATC,SAAqBA,QAAQ,IAAIF,GAAGC,EAAE,OAAOA,EAAEF,GAAE,GAAI,GAAGI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