[Home](./index.md) > [@apextoaster/js-yaml-schema](./js-yaml-schema.md) > [createInclude](./js-yaml-schema.createinclude.md)
## createInclude() function
Instantiate an includer with closure over the provided options.
Signature:
```typescript
export declare function createInclude(includeOptions: IncludeOptions): YamlType;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| includeOptions | [IncludeOptions](./js-yaml-schema.includeoptions.md) | |
Returns:
YamlType