📄 get-alphabet-option.js
/home/palash/git/site/node_modules/core-js/internals/get-alphabet-option.js
Language: js • Lines: 8
'use strict';
var $TypeError = TypeError;

module.exports = function (options) {
  var alphabet = options && options.alphabet;
  if (alphabet === undefined || alphabet === 'base64' || alphabet === 'base64url') return alphabet || 'base64';
  throw new $TypeError('Incorrect `alphabet` option');
};