# Expression Value Checking

**URL:** <https://forum.inductiveautomation.com/t/expression-value-checking/78257>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [August 22, 2023, 8:21pm UTC](https://forum.inductiveautomation.com/t/expression-value-checking/78257 "2023-08-22T20:21:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [August 22, 2023, 8:21pm UTC](https://forum.inductiveautomation.com/t/expression-value-checking/78257/1 "2023-08-22T20:21:22Z")

</div>

Is there a more convenient way to check the value during the evaluation of the expression, other than `if(result is ok, result, other)`? Similar to Excel's `ifError()`?

---

<div class="post-metadata">

**Author:** ![zacht](https://avatars.discourse-cdn.com/v4/letter/z/ea5d25/32.png) [@zacht](https://forum.inductiveautomation.com/u/zacht)\
**Post date:** [August 22, 2023, 8:25pm UTC](https://forum.inductiveautomation.com/t/expression-value-checking/78257/2 "2023-08-22T20:25:02Z")

</div>

[COALESCE](https://docs.inductiveautomation.com/display/DOC81/coalesce) or [TRY](https://docs.inductiveautomation.com/display/DOC81/try) or both depending on your goal.

Here's a [list of all expression functions](https://docs.inductiveautomation.com/display/DOC81/Expression+Functions).

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [August 22, 2023, 8:28pm UTC](https://forum.inductiveautomation.com/t/expression-value-checking/78257/3 "2023-08-22T20:28:25Z")

</div>

I mean, there is an `isError()` experession function.

I guess it just depends on what you mean by "check the value".
