# How to get the bool value of a boolean node

**URL:** https://discourse.nodered.org/t/how-to-get-the-bool-value-of-a-boolean-node/33116
**Category:** General
**Created:** [20 September 2020 15:15 UTC](https://discourse.nodered.org/t/how-to-get-the-bool-value-of-a-boolean-node/33116 "2020-09-20T15:15:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mad\_dad](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mad\_dad](https://discourse.nodered.org/u/mad_dad)
#### Post date: [20 September 2020 15:15 UTC](https://discourse.nodered.org/t/how-to-get-the-bool-value-of-a-boolean-node/33116/1 "2020-09-20T15:15:37Z")

</div>

I'm using an OR node, configured as XOR, from the node-red-contrib-bool-gate palette. It's comparing the msg.payload.value of 2 inputs, and the output of the XOR node only shows the input states in debug. Right under the XOR node is the boolean TRUE and FALSE state that updates correctly but I can't find it in the debug output. How can I find/use the boolean state?

 ![Screen Shot 2020-09-20 at 8.14.57 AM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/3/43803be5879f605086018313f149b6482d758f14.png)

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [20 September 2020 15:18 UTC](https://discourse.nodered.org/t/how-to-get-the-bool-value-of-a-boolean-node/33116/2 "2020-09-20T15:18:50Z")

</div>

Set the debug up to show the full message object.

---

<div class="post-metadata">

### Author: ![mad\_dad](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mad\_dad](https://discourse.nodered.org/u/mad_dad)
#### Post date: [20 September 2020 15:41 UTC](https://discourse.nodered.org/t/how-to-get-the-bool-value-of-a-boolean-node/33116/3 "2020-09-20T15:41:53Z")

</div>

Got it, thanks for the quick reply.

---

<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: [19 November 2020 15:41 UTC](https://discourse.nodered.org/t/how-to-get-the-bool-value-of-a-boolean-node/33116/4 "2020-11-19T15:41:56Z")

</div>

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