Поле · 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"

Используйте синтетические данные в тестовой среде.

Похожие генераторы

Выбрать сценарий