Trường · Sex Type
Trường · Sex Type · person.sexType. Phương thức tạo · Ví dụ
person.sexType
Cài đặt trình tạo
Tạo dữ liệu để xem kết quả ở đây.
Tham số & Ví dụ
Returns a random sex type. The SexType is intended to be used in parameters and conditions.
person.sexType(options?: { includeGeneric? })- options
- The optional options object.
- options.includeGeneric
- Whether 'generic' should be included in the potential outputs. If false, this method only returns 'female' and 'male'. Default is false.
Ví dụ
"male"Dùng dữ liệu tổng hợp trong môi trường kiểm thử.