필드 · Ordinal Direction

필드 · Ordinal Direction · location.ordinalDirection. 생성 메서드 · 예시

location.ordinalDirection

생성 설정

데이터를 생성하면 결과가 표시됩니다.

매개변수 & 예시

Returns a random ordinal direction (northwest, southeast, etc).

location.ordinalDirection(options?: { abbreviated? })
options
Whether to use abbreviated or an options object.
options.abbreviated
If true this will return abbreviated directions (NW, SE, etc). Otherwise this will return the long name. Defaults to false.

예시

"Southeast"

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

관련 생성기

시나리오 탐색