Feld · Cardinal Direction
Feld · Cardinal Direction · location.cardinalDirection. Generatormethode · Beispiel
location.cardinalDirection
Generatoreinstellungen
Erzeuge Daten, um Ergebnisse zu sehen.
Parameter & Beispiel
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.
Beispiel
"South"Verwende synthetische Daten in der Testumgebung.