# More efficient way to handle null values from Xano

**URL:** <https://community.weweb.io/t/more-efficient-way-to-handle-null-values-from-xano/7899>\
**Category:** How do I?\
**Tags:** binding, xano\
**Created:** [April 2, 2024, 2:23pm UTC](https://community.weweb.io/t/more-efficient-way-to-handle-null-values-from-xano/7899 "2024-04-02T14:23:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![FHEXL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/fhexl/32/13607_2.png) [@FHEXL](https://community.weweb.io/u/FHEXL)\
**Post date:** [April 2, 2024, 2:23pm UTC](https://community.weweb.io/t/more-efficient-way-to-handle-null-values-from-xano/7899/1 "2024-04-02T14:23:43Z")

</div>

Hi there,

When Xano returns null, In Weweb “null” is shown. I can manage this using the expressen  
`[value]=null ? "" : [value]`  
But this is a bit cumbersome. Is there a way that Weweb won’t render anything when Xano returns null?

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [April 2, 2024, 3:01pm UTC](https://community.weweb.io/t/more-efficient-way-to-handle-null-values-from-xano/7899/2 "2024-04-02T15:01:15Z")

</div>

`value || ""` but only if value is not a number otherwise it will fail to display `0`. if you know already that you have `null` or a value a ternary operator like your example can also handle numbers correctly
