Campo · Direction
Campo · Direction · location.direction. Método de geração · Exemplo
location.direction
Configurações do gerador
Gere dados para ver os resultados.
Parâmetros & Exemplo
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.
Exemplo
"Northwest"Use dados sintéticos em um ambiente de teste.