Shumoku Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

English

@shumoku/core · 0.4.0 · function

groupStandards

ソース

APIの説明は英語のcanonical sourceを表示しています。

Group a list of `StandardOption`s by their `group` for sectioned dropdowns.

groupStandards(options: readonly StandardOption[]): { group: StandardCableGroup; label: string; options: StandardOption[] }[]

パラメーター

名前 説明 既定値
options readonly StandardOption[] 追加説明はありません。

戻り値

{ group: StandardCableGroup; label: string; options: StandardOption[] }[]

libs/@shumoku/core/src/models/standards.ts:415