# bindingInterfaceName

Canonical: https://docs.shumoku.dev/ja/library/api/bindingInterfaceName
Language: ja

@shumoku/core · 0.4.0 · function

# bindingInterfaceName

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/observation/metrics-binding.ts#L43)

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

The best name to hand the plugin for an interface binding. Identity (\`ifName\`) is the durable key; \`interfaceName\` is the migration / label fallback. The poll-time resolution layer may refine this against the source's live interface list, but a name is always derivable here.

```
bindingInterfaceName(b: MetricsBindingAttachment): string | undefined
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `b` | `MetricsBindingAttachment` | 追加説明はありません。 | `—` |

## 戻り値

```
string | undefined
```

[`libs/@shumoku/core/src/observation/metrics-binding.ts:43`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/observation/metrics-binding.ts#L43)
