# Function: checkStoredCollection()

```ts
function checkStoredCollection(definition): string | null;
```

Defined in: [packages/core/src/schema/collection-def.ts:312](https://github.com/leifriksheim/minca/blob/main/core/src/schema/collection-def.ts#L312)

Why a definition may not be published, or null when it may.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `definition` | `unknown` |

## Returns

`string` \| `null`
