Campo · Ordinal Direction

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

location.ordinalDirection

Opciones del generador

Genera datos para ver los resultados.

Parámetros & Ejemplo

Returns a random ordinal direction (northwest, southeast, etc).

location.ordinalDirection(options?: { abbreviated? })
options
Whether to use abbreviated or an options object.
options.abbreviated
If true this will return abbreviated directions (NW, SE, etc). Otherwise this will return the long name. Defaults to false.

Ejemplo

"Southeast"

Usa datos sintéticos en el entorno de prueba.

Generadores relacionados

Explorar escenarios