Shumoku Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

English

@shumoku/core · 0.4.0 · function

normalizeInterfaceName

ソース

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

Normalize an interface name to `{ prefix, numbers, sub }`. The numeric part is split on `/`, `-`, or `:` so TTDB's dash form ("hg-0-0-0" → [0,0,0]) lines up with the slash form ("hg/0/0/0" → [0,0,0]).

normalizeInterfaceName(name: string): NormalizedInterface

パラメーター

名前 説明 既定値
name string 追加説明はありません。

戻り値

NormalizedInterface

libs/@shumoku/core/src/observation/interface-name.ts:64