blank関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A figure with no value: the shape of "no source gives this".
インポート
import { blank } from "@johnmorrisdotca/uchusen-rockets";
定義
function blank<T = number>(note?: string, brief?: string): Figure<T>
引数
| 名前 | 型 | 説明 |
|---|---|---|
note (省略可) | string | undefined | Why there is no value. Optional. |
brief (省略可) | string | undefined | What to say in place of a value wherever it is shown. Optional. |
戻り値
Figure<T>
A figure whose value and source are null.
例
import { blank } from "@johnmorrisdotca/uchusen-rockets";
console.log(blank("No source read gives it.", "not given"));{
value: null,
source: null,
note: 'No source read gives it.',
brief: 'not given'
}出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。