decord/source/1302_reflectionLongConvert.js
2026-07-21 22:01:30 +00:00

15 lines
421 B
JavaScript

// Module ID: 1302
// Function ID: 15211
// Name: reflectionLongConvert
// Dependencies: []
// Module 1302 (reflectionLongConvert)
arg5.reflectionLongConvert = function reflectionLongConvert(ZERO, STRING) {
if (STRING(arg6[0]).LongType.BIGINT === STRING) {
return ZERO.toBigInt();
} else if (STRING(arg6[0]).LongType.NUMBER === STRING) {
return ZERO.toNumber();
} else {
return ZERO.toString();
}
};