a-string.js 189 B

1234567
  1. 'use strict';
  2. var $TypeError = TypeError;
  3. module.exports = function (argument) {
  4. if (typeof argument == 'string') return argument;
  5. throw new $TypeError('Argument is not a string');
  6. };