RideFace型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A way to face while riding, as from the windows of a plane or a boat: ahead along the way it goes, behind the opposite, left and right across that way as seen facing ahead, down straight at the Earth and up straight away from it.
インポート
import type { RideFace } from "@johnmorrisdotca/chikyu-earth/space";
定義
type RideFace = "ahead" | "behind" | "left" | "right" | "down" | "up";
例
import { RIDE_FACES, type RideFace } from "@johnmorrisdotca/chikyu-earth/space";
const face: RideFace = "ahead";
console.log(RIDE_FACES.includes(face));true出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。