# reachForLink

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

@shumoku/core · 0.4.0 · function

# reachForLink

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

Effective reach in meters for a link, accounting for the cable grade. Falls back to the standard's \`maxReach\_m\` when the grade isn't set or isn't in the registry's per-grade table.

```
reachForLink(standard: EthernetStandard | undefined, cableCategory: string | undefined): number | undefined
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `standard` | `EthernetStandard | undefined` | No additional description. | `—` |
| `cableCategory` | `string | undefined` | No additional description. | `—` |

## Returns

```
number | undefined
```

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