リファレンス · 読み、表記、英語の意味、漢字、ローマ字から単語を引く
allWords関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Every word that has been loaded, once each, the commonest first for the common table. For a search that reads the meanings too.
インポート
import { allWords } from "@johnmorrisdotca/jisho/words";
定義
function allWords(words: Words): Word[]
引数
| 名前 | 型 | 説明 |
|---|---|---|
words | Words | What |
戻り値
Word[]
The words.
例
import { allWords, loadCommonWords } from "@johnmorrisdotca/jisho/words";
console.log(allWords(await loadCommonWords()).length); // about 26,00026014出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。