# toNull

## Description

will just return null.

## Input / Parameter

N/A

## Output

| Description         | Output Type |
| ------------------- | ----------- |
| Returns null value. | Null        |

## Example

In this example, we will use the `toNull` function to print `null` in the console.

### Step

1. Drag a `button` component into the canvas and open the `Action` tab. Select the `press` event of the button and drag the `console` function to the event flow.
2. Call the function `toNull` inside the `console` value subflow.

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-c7768d366eadce832d74c38b358d0ab3e456d00b%2FtoNull-step-1.png?alt=media)

### Result

1. The console will print `null`.

   ![](https://399701567-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwmJ1RKjM2uNFaL6fO3Xu%2Fuploads%2Fgit-blob-2be0b17aabe1522a4daa463e0ee4adc1bebc8798%2FtoNull-result-1.png?alt=media)
