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

12 lines
436 B
Plaintext

import { PartitionNumberRangePattern } from './PartitionNumberRangePattern';
/**
* https://tc39.es/ecma402/#sec-formatnumericrange
*/
export function FormatNumericRange(numberFormat, x, y, _a) {
var getInternalSlots = _a.getInternalSlots;
var parts = PartitionNumberRangePattern(numberFormat, x, y, {
getInternalSlots: getInternalSlots,
});
return parts.map(function (part) { return part.value; }).join('');
}