# \[Solved\] Q: on a function

**URL:** <https://discourse.nodered.org/t/solved-q-on-a-function/22725>\
**Category:** General\
**Created:** [6 March 2020 15:20 UTC](https://discourse.nodered.org/t/solved-q-on-a-function/22725 "2020-03-06T15:20:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebolisa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ebolisa/32/89203_2.png) [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Post date:** [6 March 2020 15:20 UTC](https://discourse.nodered.org/t/solved-q-on-a-function/22725/1 "2020-03-06T15:20:13Z")

</div>

Hi new to node-red.

Can someone pls tell me what's wrong with this simple function? The "if" filter is not working.  
TIA

 ![Captura](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/2/d286649b6c3e51f064d58e9bdff8debd2d01da8f.png)

---

<div class="post-metadata">

**Author:** ![ebolisa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ebolisa/32/89203_2.png) [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Post date:** [6 March 2020 16:52 UTC](https://discourse.nodered.org/t/solved-q-on-a-function/22725/2 "2020-03-06T16:52:56Z")

</div>

Solved.. Had an error in the link.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [20 March 2020 16:52 UTC](https://discourse.nodered.org/t/solved-q-on-a-function/22725/3 "2020-03-20T16:52:56Z")

</div>

Closed on 20 March 2020 16:52 UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
