From 954583f3d56fbfb60321725f13ad092e536e3737 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 7 Nov 2018 22:10:16 +0100 Subject: Removed node_modules --- node_modules/locutus/php/var/isset.js | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 node_modules/locutus/php/var/isset.js (limited to 'node_modules/locutus/php/var/isset.js') diff --git a/node_modules/locutus/php/var/isset.js b/node_modules/locutus/php/var/isset.js deleted file mode 100644 index 48108c2..0000000 --- a/node_modules/locutus/php/var/isset.js +++ /dev/null @@ -1,32 +0,0 @@ -'use strict'; - -module.exports = function isset() { - // discuss at: http://locutus.io/php/isset/ - // original by: Kevin van Zonneveld (http://kvz.io) - // improved by: FremyCompany - // improved by: Onno Marsman (https://twitter.com/onnomarsman) - // improved by: RafaƂ Kukawski (http://blog.kukawski.pl) - // example 1: isset( undefined, true) - // returns 1: false - // example 2: isset( 'Kevin van Zonneveld' ) - // returns 2: true - - var a = arguments; - var l = a.length; - var i = 0; - var undef; - - if (l === 0) { - throw new Error('Empty isset'); - } - - while (i !== l) { - if (a[i] === undef || a[i] === null) { - return false; - } - i++; - } - - return true; -}; -//# sourceMappingURL=isset.js.map \ No newline at end of file -- cgit v1.2.3