> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# isPlugin()

> Function exported by @botmesh/core.

```ts theme={null}
function isPlugin(x): x is Plugin;
```

Defined in: [plugins/definePlugin.ts:73](https://github.com/andresayac/botmesh/blob/main/packages/core/src/plugins/definePlugin.ts#L73)

Sentinel check to differentiate plugins from flows in bot.use().

## Parameters

| Parameter | Type |
| - | - |
| `x` | `unknown` |

## Returns

`x is Plugin`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.