frontend/.pnpm-store/v3/files/10/bec32787b170c1f1e74b5402a1b8107015c21344ac0f951766c8a054474ba1462420c60c296067be29b4434158c02871b7888e3393dc6522a268ff50eb8947-exec

19 lines
676 B
Plaintext
Executable File

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormatNumericToParts = void 0;
var PartitionNumberPattern_1 = require("./PartitionNumberPattern");
var _262_1 = require("../262");
function FormatNumericToParts(nf, x, implDetails) {
var parts = (0, PartitionNumberPattern_1.PartitionNumberPattern)(nf, x, implDetails);
var result = (0, _262_1.ArrayCreate)(0);
for (var _i = 0, parts_1 = parts; _i < parts_1.length; _i++) {
var part = parts_1[_i];
result.push({
type: part.type,
value: part.value,
});
}
return result;
}
exports.FormatNumericToParts = FormatNumericToParts;