# Beginner questions on IF expressions and wildcard usage in function node

**URL:** https://discourse.nodered.org/t/beginner-questions-on-if-expressions-and-wildcard-usage-in-function-node/80999
**Category:** General
**Created:** [3 September 2023 11:43 UTC](https://discourse.nodered.org/t/beginner-questions-on-if-expressions-and-wildcard-usage-in-function-node/80999 "2023-09-03T11:43:38Z")
**Posts on this page:** 1
**Showing post:** 108

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [6 September 2023 17:25 UTC](https://discourse.nodered.org/t/beginner-questions-on-if-expressions-and-wildcard-usage-in-function-node/80999/108 "2023-09-06T17:25:13Z")

</div>

> [@AleXSR700](#):
>
> delete **all** flow contexts in one go

There are 2 ways.

1. Store all your context in a single object - then just delete the 1 object.
2. Use a function node: [How to clear context? - #2 by Steve-Mcl](https://discourse.nodered.org/t/how-to-clear-context/80880/2)

---

_[View the full topic](https://discourse.nodered.org/t/beginner-questions-on-if-expressions-and-wildcard-usage-in-function-node/80999)._
