@shumoku/core · 0.4.0 · function
interfaceNamesMatch
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 Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
a | string | No additional description. | — |
b | string | No additional description. | — |
Returns
boolean