decord/source/1325_reflectionLongConvert.js

21 lines
530 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 1325
// Function ID: 1326
2026-07-20 16:05:17 +00:00
// Name: reflectionLongConvert
2026-07-29 08:29:29 +00:00
// Dependencies: [1320]
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
// Module 1325 (reflectionLongConvert)
2026-08-24 06:08:38 +00:00
import RepeatType from "RepeatType" /* 1320 */;
require = arg1;
2026-07-23 10:11:24 +00:00
const dependencyMap = arg6;
2026-07-20 16:05:17 +00:00
arg5.reflectionLongConvert = function reflectionLongConvert(ZERO, STRING) {
2026-08-24 06:08:38 +00:00
if (RepeatType.LongType.BIGINT === STRING) {
2026-07-20 16:05:17 +00:00
return ZERO.toBigInt();
2026-08-24 06:08:38 +00:00
} else if (RepeatType.LongType.NUMBER === STRING) {
2026-07-20 16:05:17 +00:00
return ZERO.toNumber();
} else {
return ZERO.toString();
}
2026-08-24 06:08:38 +00:00
const tmp = require;
2026-07-20 16:05:17 +00:00
};