FRENCH_PREPOSITIONS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
French particles that can open a street name, each with the space after it, to the way it is written there (de la
as De la ).
インポート
import { FRENCH_PREPOSITIONS } from "@johnmorrisdotca/address-plus";
定義
const FRENCH_PREPOSITIONS: Map<string, string> = new Map([
["du ", "Du "],
["des ", "Des "],
["de la ", "De la "],
["de l'", "De l'"],
["de ", "De "],
])
例
import { FRENCH_PREPOSITIONS } from "@johnmorrisdotca/address-plus";
console.log(FRENCH_PREPOSITIONS.get("de la "));
// → "De la "De la出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。