リファレンス · 単語の完全な項目:すべての語義と、JMdictが記すことのすべて
LoanSource型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The word a loanword comes from, in the language it comes from.
インポート
import type { LoanSource } from "@johnmorrisdotca/jisho/entries";
定義
type LoanSource = {
readonly lang: string;
readonly text: string;
readonly partial: boolean;
readonly wasei: boolean;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
lang | string | The language, as a three-letter code ( |
text | string | The word in that language; empty when JMdict names the language only. |
partial | boolean | Whether the Japanese word is made from only a part of it. |
wasei | boolean | Whether it is a word made in Japan from foreign parts (和製英語). |
例
import type { LoanSource } from "@johnmorrisdotca/jisho/entries";
const source: LoanSource = { lang: "eng", text: "paper", partial: false, wasei: false };
console.log(source.lang);eng出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。