quote-quote
Version:
Convert straight quotes to curly quotes — also known as smart quotes.
2 lines • 481 B
JavaScript
;function isObject(t){return"[object Object]"===Object.prototype.toString.call(t)}function throwForInvalidArgumentTypes(t,e){if("string"!=typeof t)throw new TypeError('quote-quote: "text" argument must be a string');if(null!=e&&!isObject(e))throw new TypeError('quote-quote: "options" argument must be an object')}Object.defineProperty(exports,"__esModule",{value:!0}),exports.throwForInvalidArgumentTypes=throwForInvalidArgumentTypes;
//# sourceMappingURL=utils.js.map