DIRECTION_EXPANSIONS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Each directional abbreviation in lower case, to the word in full.
インポート
import { DIRECTION_EXPANSIONS } from "@johnmorrisdotca/address-plus";
定義
const DIRECTION_EXPANSIONS: Record<string, string> = {
n: "North",
s: "South",
e: "East",
w: "West",
ne: "Northeast",
nw: "Northwest",
se: "Southeast",
sw: "Southwest",
o: "Ouest",
}
例
import { DIRECTION_EXPANSIONS } from "@johnmorrisdotca/address-plus";
console.log(DIRECTION_EXPANSIONS["ne"]);
// → "Northeast"Northeast出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。