stonelessWord関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
How a written record says a move with no point, or null for a move that has one. The words a move list and a copied notation print, so the two agree.
インポート
import { stonelessWord } from "@johnmorrisdotca/narabe";
定義
function stonelessWord(kind: string | undefined): string | null
引数
| 名前 | 型 | 説明 |
|---|---|---|
kind | string | undefined | The recorded move kind. |
戻り値
string | null
How a written record says a move with no point, or null for a move that has one. The words a move list and a copied notation print, so the two agree.
例
import { stonelessWord } from "@johnmorrisdotca/narabe";
console.log(stonelessWord("pass"));pass出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。