필드 · 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"

테스트 환경에서 합성 데이터를 사용하세요.

관련 생성기

시나리오 탐색