12 lines
269 B
JavaScript
12 lines
269 B
JavaScript
// Metro module 1325 (f1326).
|
|
import { LongType } from "./Module1320";
|
|
export function reflectionLongConvert(a0, a1) {
|
|
if (LongType.BIGINT === a1) {
|
|
return a0.toBigInt();
|
|
}
|
|
if (LongType.NUMBER === a1) {
|
|
return a0.toNumber();
|
|
}
|
|
return a0.toString();
|
|
}
|