source: node_modules/core-js-pure/internals/a-string.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 189 bytes
Line 
1'use strict';
2var $TypeError = TypeError;
3
4module.exports = function (argument) {
5 if (typeof argument == 'string') return argument;
6 throw new $TypeError('Argument is not a string');
7};
Note: See TracBrowser for help on using the repository browser.