[Home](./index.md) > [@apextoaster/js-yaml-schema](./js-yaml-schema.md) > [createInclude](./js-yaml-schema.createinclude.md)
## createInclude() function
Instantiate an include type with a copy of the provided options, returning the include type and its schema setter.
Signature:
```typescript
export declare function createInclude(options: Readonly): {
includeType: YamlType;
setSchema: (schema: Schema) => void;
};
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| options | Readonly<[IncludeOptions](./js-yaml-schema.includeoptions.md)> | |
Returns:
{ includeType: YamlType; setSchema: (schema: Schema) => void; }