Feld · Direction

Feld · Direction · location.direction. Generatormethode · Beispiel

location.direction

Generatoreinstellungen

Erzeuge Daten, um Ergebnisse zu sehen.

Parameter & Beispiel

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.

Beispiel

"Northwest"

Verwende synthetische Daten in der Testumgebung.

Verwandte Generatoren

Szenarien ansehen