Trường · Ordinal Direction

Trường · Ordinal Direction · location.ordinalDirection. Phương thức tạo · Ví dụ

location.ordinalDirection

Cài đặt trình tạo

Tạo dữ liệu để xem kết quả ở đây.

Tham số & Ví dụ

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.

Ví dụ

"Southeast"

Dùng dữ liệu tổng hợp trong môi trường kiểm thử.

Trình tạo liên quan

Khám phá kịch bản