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