const decimalRegex = /\d/;
function toDecimal(code, next, omit) {
  const value = "&#" + String(code);
  return omit && next && !decimalRegex.test(String.fromCharCode(next)) ? value : value + ";";
}
export {
  toDecimal
};
//# sourceMappingURL=lib-util-to-decimal.js.map
