# What does this result mean?

**URL:** <https://discourse.julialang.org/t/what-does-this-result-mean/82137>\
**Category:** General Usage\
**Tags:** bug\
**Created:** [June 2, 2022, 2:24pm UTC](https://discourse.julialang.org/t/what-does-this-result-mean/82137 "2022-06-02T14:24:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Fliks](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fliks/32/2494_2.png) [@Fliks](https://discourse.julialang.org/u/Fliks)\
**Post date:** [June 2, 2022, 2:28pm UTC](https://discourse.julialang.org/t/what-does-this-result-mean/82137/2 "2022-06-02T14:28:50Z")

</div>

In Julia unlike python for example values are not considered truthy. See a discussion about this concept here: [On the arbitrariness of truth(iness)](https://discourse.julialang.org/t/on-the-arbitrariness-of-truth-iness/81381).  
If you would like to test whether all values are nonzero for example you could provide a function to the all function:

```julia
julia> all(!iszero, [2,2,2], dims=1)
1-element Vector{Bool}:
 1

```

---

_[View the full topic](https://discourse.julialang.org/t/what-does-this-result-mean/82137)._
