# cableVariantsForPlug

Canonical: https://docs.shumoku.dev/en/library/api/cableVariantsForPlug
Language: en

@shumoku/core · 0.4.0 · function

# cableVariantsForPlug

[Source](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/models/standards.ts#L507)

Cable variants for a plug — all standards reachable through that cage form factor, ordered by speed. For RJ45 this includes 10M / 100M / 1G / 2.5G / 5G / 10G; for SFP+ it includes SR / LR / CR / AOC.

```
cableVariantsForPlug(plug: PlugProfile): CableVariant[]
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `plug` | `PlugProfile` | No additional description. | `—` |

## Returns

```
CableVariant[]
```

[`libs/@shumoku/core/src/models/standards.ts:507`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/models/standards.ts#L507)
