Campo · Direction

Campo · Direction · location.direction. Método de generación · Ejemplo

location.direction

Opciones del generador

Genera datos para ver los resultados.

Parámetros & Ejemplo

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.

Ejemplo

"Northwest"

Usa datos sintéticos en el entorno de prueba.

Generadores relacionados

Explorar escenarios