Trường · Direction
Trường · Direction · location.direction. Phương thức tạo · Ví dụ
location.direction
Cài đặt trình tạo
Tạo dữ liệu để xem kết quả ở đây.
Tham số & Ví dụ
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.
Ví dụ
"Northwest"Dùng dữ liệu tổng hợp trong môi trường kiểm thử.