Campo · Direction

Campo · Direction · location.direction. Metodo di generazione · Esempio

location.direction

Impostazioni

Genera dati per vedere i risultati.

Parametri & Esempio

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.

Esempio

"Northwest"

Usa dati sintetici nell’ambiente di test.

Generatori correlati

Esplora gli scenari