UNPKG

@throw-out-error/minecraft-mcfunction

Version:

A simple way to create your mcfunction files using Typescript syntax.

11 lines 392 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.rangeToString = void 0; function rangeToString(r) { if (typeof r === 'number') return `${r}`; const [min = -Infinity, max = Infinity] = r; return [min, max].map((n) => (isFinite(n) ? n : '')).join('..'); } exports.rangeToString = rangeToString; //# sourceMappingURL=util.js.map