Sha256: bb41ab041939b1966a58b0d36fff78e35baef4cce7ce0a31cac9be7185a7cf3e
Contents?: true
Size: 356 Bytes
Versions: 243
Compression:
Stored size: 356 Bytes
Contents
'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); };
Version data entries
243 entries across 27 versions & 2 rubygems