# Type Alias: CheckFunction()

> **CheckFunction**: (`lastReceivedMessage`, `currentProps`) => `boolean`

## Parameters

• **lastReceivedMessage**: [`Message`](/reference/api/model/message/interfaces/Message.md)

• **currentProps**: [`CurrentDialogProps`](/reference/structures/Dialog/interfaces/CurrentDialogProps.md)

## Returns

`boolean`
