Files
NapCatQQ/.pnpm-store/v3/files/fc/278dc324682d657a58203f796dfb487b513f86573975bb94d1b95e33ee60f431bf47298072fefdc55cfe3259c1122c1aec29b6fcda8a875c7c33a70c6088a4
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

15 lines
591 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormatNumericRange = FormatNumericRange;
var PartitionNumberRangePattern_1 = require("./PartitionNumberRangePattern");
/**
* https://tc39.es/ecma402/#sec-formatnumericrange
*/
function FormatNumericRange(numberFormat, x, y, _a) {
var getInternalSlots = _a.getInternalSlots;
var parts = (0, PartitionNumberRangePattern_1.PartitionNumberRangePattern)(numberFormat, x, y, {
getInternalSlots: getInternalSlots,
});
return parts.map(function (part) { return part.value; }).join('');
}