Copy as Markdown[View as Markdown](/docs/sdk/functions/toSystem.md)

***

# Function: toSystem()

> **toSystem**(`directory`): (`file`) => `Promise`<`System`>

Defined in: systems.ts:149

## Parameters[​](#parameters "Direct link to Parameters")

| Parameter   | Type     |
| ----------- | -------- |
| `directory` | `string` |

## Returns[​](#returns "Direct link to Returns")

`Function`

### Parameters[​](#parameters-1 "Direct link to Parameters")

| Parameter | Type     |
| --------- | -------- |
| `file`    | `string` |

### Returns[​](#returns-1 "Direct link to Returns")

`Promise`<`System`>
