readPlaceGroups関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Whether places that crowd are gathered into one ring with their count (the attribute place-groups): on unless the value is off.
インポート
import { readPlaceGroups } from "@johnmorrisdotca/chikyu-earth/markers";
定義
function readPlaceGroups(value: string | null): boolean
引数
| 名前 | 型 | 説明 |
|---|---|---|
value | string | null | The attribute's value, or null when it is not set. |
戻り値
boolean
False for off, true for anything else.
例
import { readPlaceGroups } from "@johnmorrisdotca/chikyu-earth/markers";
console.log(readPlaceGroups(null), readPlaceGroups("off")); // true falsetrue false出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。