[**graphai**](../README.md)

***

[graphai](../globals.md) / assert

# Function: assert()

> **assert**(`condition`, `message`, `isWarn`): `asserts condition`

Defined in: [packages/graphai/src/utils/utils.ts:30](https://github.com/kawamataryo/graphai/blob/dd469fabd8a117a70d995bd5597c959177f9738c/packages/graphai/src/utils/utils.ts#L30)

## Parameters

### condition

`boolean`

### message

`string`

### isWarn

`boolean` = `false`

## Returns

`asserts condition`
