Trường · Big Int
Trường · Big Int · number.bigInt. Phương thức tạo · Ví dụ
number.bigInt
Cài đặt trình tạo
Tạo dữ liệu để xem kết quả ở đây.
Tham số & Ví dụ
Returns a BigInt number. The bounds are inclusive.
number.bigInt(options?: bigint | number | string | boolean | { min?: bigint | number | string | boolean; max?: bigint | number | string | boolean; multipleOf?: bigint | number | string | boolean; })- options
- Maximum value or options object.
- options.min
- Lower bound for generated bigint. Defaults to 0n.
- options.max
- Upper bound for generated bigint. Defaults to min + 999999999999999n.
- options.multipleOf
- The generated bigint will be a multiple of this parameter. Defaults to 1n.
Ví dụ
"160643811774879"Dùng dữ liệu tổng hợp trong môi trường kiểm thử.