Поле · Direction
Поле · Direction · location.direction. Метод генерации · Пример
location.direction
Настройки генератора
Создайте данные для просмотра результатов.
Параметры & Пример
Returns a random direction (cardinal and ordinal; northwest, east, etc).
location.direction(options?: { abbreviated? })- options
- The options to use.
- options.abbreviated
- If true this will return abbreviated directions (NW, E, etc). Otherwise this will return the long name. Defaults to false.
Пример
"Northwest"Используйте синтетические данные в тестовой среде.