frontend/.pnpm-store/v3/files/e8/a91b69cb33b6d72221aeb92132bbe3dadd69a49ae9edcc479e64c1566d25937588da802e6f18aa0d5aeed58816a7c6bd980a573e4a258cacb6dac60131f588

16 lines
356 B
Plaintext

'use strict';
var $StringValueOf = require('call-bind/callBound')('String.prototype.valueOf');
var Type = require('./Type');
// https://262.ecma-international.org/6.0/#sec-properties-of-the-string-prototype-object
module.exports = function thisStringValue(value) {
if (Type(value) === 'String') {
return value;
}
return $StringValueOf(value);
};