UNPKG

@gerhobbelt/mathjax-third-party-extensions

Version:

A list of MathJax extensions provided by third-party contributors

4 lines (3 loc) 92 B
module.exports = function toPositive(number) { return number < 0 ? 0 : (+number || 0); };