Skip to content

Type Alias: RBigIntFieldValue ​

ts
type RBigIntFieldValue = string | number | bigint;

Represents the value types that can be handled by RBigIntField.

Supports string, number, and bigint inputs for maximum flexibility. All values are internally converted to Big.js instances for precision arithmetic and then emitted according to the jsonSafe configuration.

Example ​

typescript
const stringValue: RBigIntFieldValue = "123456789012345678901234567890";
const numberValue: RBigIntFieldValue = 42;
const bigintValue: RBigIntFieldValue = 123456789012345678901234567890n;