aboutsummaryrefslogtreecommitdiff
path: root/node_modules/has-symbol-support-x/lib/has-symbol-support-x.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/has-symbol-support-x/lib/has-symbol-support-x.js')
-rw-r--r--node_modules/has-symbol-support-x/lib/has-symbol-support-x.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/node_modules/has-symbol-support-x/lib/has-symbol-support-x.js b/node_modules/has-symbol-support-x/lib/has-symbol-support-x.js
new file mode 100644
index 0000000..62a6b14
--- /dev/null
+++ b/node_modules/has-symbol-support-x/lib/has-symbol-support-x.js
@@ -0,0 +1,22 @@
+(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(){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}return e})()({1:[function(_dereq_,module,exports){
+/**
+ * @file Tests if ES6 Symbol is supported.
+ * @version 1.4.2
+ * @author Xotic750 <Xotic750@gmail.com>
+ * @copyright Xotic750
+ * @license {@link <https://opensource.org/licenses/MIT> MIT}
+ * @module has-symbol-support-x
+ */
+
+'use strict';
+
+/**
+ * Indicates if `Symbol`exists and creates the correct type.
+ * `true`, if it exists and creates the correct type, otherwise `false`.
+ *
+ * @type boolean
+ */
+module.exports = typeof Symbol === 'function' && typeof Symbol('') === 'symbol';
+
+},{}]},{},[1])(1)
+}); \ No newline at end of file