CA_PROVINCES定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Every name and other spelling of a Canadian province, to its code: the names and the alternatives together.
インポート
import { CA_PROVINCES } from "@johnmorrisdotca/address-plus";
定義
const CA_PROVINCES: Record<string, string> = {
...CA_PROVINCE_NAMES,
...CA_PROVINCE_ALTERNATIVES,
}
例
import { CA_PROVINCES } from "@johnmorrisdotca/address-plus";
console.log(CA_PROVINCES["nfld"]);
// → "NL"NL出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。