Campo · Sex Type

Campo · Sex Type · person.sexType. Método de geração · Exemplo

person.sexType

Configurações do gerador

Gere dados para ver os resultados.

Parâmetros & Exemplo

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.

Exemplo

"male"

Use dados sintéticos em um ambiente de teste.

Geradores relacionados

Explorar cenários