]> gerrit.simantics Code Review - simantics/district.git/blob - is-native-implemented.js
5f073a19cab7c8763da72909b0ab2782e7adf09c
[simantics/district.git] / is-native-implemented.js
1 // Exports true if environment provides native `Symbol` implementation
2
3 'use strict';
4
5 module.exports = (function () {
6         if (typeof Symbol !== 'function') return false;
7         return (typeof Symbol() === 'symbol');
8 }());