Sha256: 6cbf6b57b269cda9ef79842b90fc192f9845dcf7b4158be73f285ab0ed03b331
Contents?: true
Size: 212 Bytes
Versions: 19
Compression:
Stored size: 212 Bytes
Contents
module.exports = function unquote(str, quoteChar) { quoteChar = quoteChar || '"'; if (str[0] === quoteChar && str[str.length - 1] === quoteChar) return str.slice(1, str.length - 1); else return str; };
Version data entries
19 entries across 19 versions & 1 rubygems