Sex Type生成器
Sex Type生成器 · person.sexType. 生成方法 · 示例
person.sexType
生成设置
生成后在这里查看结果。
参数 & 示例
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.
示例
"male"请在测试环境使用合成数据。