figures関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The stick figures of all 88 constellations, in the order of constellations() (alphabetical by Latin name).
インポート
import { figures } from "@johnmorrisdotca/hoshi-stars/lines";
定義
function figures(): Figure[]
戻り値
Figure[]
A fresh array of the shared, frozen figures.
例
import { figures } from "@johnmorrisdotca/hoshi-stars/lines";
console.log(figures().length, figures().reduce((sum, f) => sum + f.segments.length, 0));88 545出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。