Ordinal Direction generator

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

location.ordinalDirection

Generator settings

Generate data to see results here.

Parameters & Example

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.

Example

"Southeast"

Use synthetic data in a test environment.

Related generators

Explore scenarios