필드 · Cardinal Direction

필드 · Cardinal Direction · location.cardinalDirection. 생성 메서드 · 예시

location.cardinalDirection

생성 설정

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

매개변수 & 예시

Returns a random cardinal direction (north, east, south, west).

location.cardinalDirection(options?: { abbreviated? })
options
The options to use.
options.abbreviated
If true this will return abbreviated directions (N, E, etc). Otherwise this will return the long name. Defaults to false.

예시

"South"

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

관련 생성기

시나리오 탐색