@shumoku/core · 0.4.2 · function
normalizeInterfaceName
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 Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
name | string | No additional description. | — |
Returns
NormalizedInterface libs/@shumoku/core/src/libs/@shumoku/core/src/observation/interface-name.ts:64