# hasNativeApi

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

@shumoku/core · 0.4.0 · function

# hasNativeApi

[Source](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/plugin-types.ts#L660)

Duck-type check: does this plugin expose a native-API passthrough? Intentionally not bound to a \`DataSourceCapability\` literal — this is a developer-only escape hatch, not a product feature, so it stays off the advertised capability list.

```
hasNativeApi(plugin: DataSourcePlugin): predicate
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `plugin` | `DataSourcePlugin` | No additional description. | `—` |

## Returns

```
predicate
```

[`libs/@shumoku/core/src/plugin-types.ts:660`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/plugin-types.ts#L660)
