Trường · Boolean
Trường · Boolean · datatype.boolean. Phương thức tạo · Ví dụ
datatype.boolean
Cài đặt trình tạo
Tạo dữ liệu để xem kết quả ở đây.
Tham số & Ví dụ
Returns the boolean value true or false.
datatype.boolean(options?: number | { probability?: number; })- options
- The optional options object or the probability ([0.00, 1.00]) of returning true.
- options.probability
- The probability ([0.00, 1.00]) of returning true. Defaults to 0.5.
Ví dụ
falseDùng dữ liệu tổng hợp trong môi trường kiểm thử.