"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const decimalRegex = /\d/;
function toDecimal(code, next, omit) {
  const value = "&#" + String(code);
  return omit && next && !decimalRegex.test(String.fromCharCode(next)) ? value : value + ";";
}
exports.toDecimal = toDecimal;
//# sourceMappingURL=lib-util-to-decimal.cjs.map
