# defaultStandardForCages

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

@shumoku/core · 0.4.0 · function

# defaultStandardForCages

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

Propose a sensible default standard given the cages on both ends.

```
defaultStandardForCages(fromCage: PortConnector | undefined, toCage: PortConnector | undefined): EthernetStandard | undefined
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `fromCage` | `PortConnector | undefined` | No additional description. | `—` |
| `toCage` | `PortConnector | undefined` | No additional description. | `—` |

## Returns

```
EthernetStandard | undefined
```

[`libs/@shumoku/core/src/models/port-compatibility.ts:355`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/models/port-compatibility.ts#L355)
