# Function "if" why is not work

**URL:** https://discourse.nodered.org/t/function-if-why-is-not-work/73209
**Category:** General
**Created:** [5 January 2023 09:51 UTC](https://discourse.nodered.org/t/function-if-why-is-not-work/73209 "2023-01-05T09:51:23Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [5 January 2023 10:38 UTC](https://discourse.nodered.org/t/function-if-why-is-not-work/73209/2 "2023-01-05T10:38:48Z")

</div>

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

You can edit and correct your post by clicking the pencil ✏ icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/function-if-why-is-not-work/73209)._
