UNPKG

quote-quote

Version:

Convert straight quotes to curly quotes — also known as smart quotes.

2 lines 354 B
function isObject(t){return"[object Object]"===Object.prototype.toString.call(t)}export 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')} //# sourceMappingURL=utils.js.map