# plugProfilesForConnectors

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

@shumoku/core · 0.4.0 · function

# plugProfilesForConnectors

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

Plug profiles compatible with the given port connectors. Empty arrays are permissive (return all plugs); multi-connector combo ports return the union of compatible plugs.

```
plugProfilesForConnectors(fromConnectors: readonly string[] | undefined, toConnectors: readonly string[] | undefined): PlugProfile[]
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `fromConnectors` | `readonly string[] | undefined` | No additional description. | `—` |
| `toConnectors` | `readonly string[] | undefined` | No additional description. | `—` |

## Returns

```
PlugProfile[]
```

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