@shumoku/core · 0.4.0 · function
interfaceNamesMatch
APIの説明は英語のcanonical sourceを表示しています。
Whether two interface names denote the same physical port. Same canonical prefix with aligning numbers (score ≥ 0.5), OR — for cross-vocabulary cases like TTDB's speed-code `hg` vs Juniper `et-` where prefixes differ but the port number is identical — the full number sequence matches.
interfaceNamesMatch(a: string, b: string): boolean パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
a | string | 追加説明はありません。 | — |
b | string | 追加説明はありません。 | — |
戻り値
boolean