removeFlags関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Takes a registered set out: its flags are no longer found, listed or drawn, and its id can be registered again.
インポート
import { removeFlags } from "@johnmorrisdotca/hata/custom";
定義
function removeFlags(sourceId: string): boolean
引数
| 名前 | 型 | 説明 |
|---|---|---|
sourceId | string | The set's id, as in its |
戻り値
boolean
true when there was such a set.
例
import { removeFlags } from "@johnmorrisdotca/hata/custom";
console.log(removeFlags("no-such-set")); // falsefalse出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。