☰
Debian Codegraph
@
0.167.0-2
0.166.0-2
0.166.0-1
0.165.0-3
0.165.0-2
0.162.1-1
/
/
docs
/
content
/
en
/
_common
/
functions
/
truthy-falsy.md
☽
☼
docs/content/en/_common/functions/truthy-falsy.md
code
rendered
plain
raw
Apache-2.0
2013–2016 Steve Francia <
[email protected]
>; 2014–2025 Bjørn Erik Pedersen <
[email protected]
>; 2015–2025 The Hugo Authors
debian/copyright
1
---
2
_comment: Do not remove front matter.
3
---
4
5
The falsy values are `false`, `0`, any `nil` pointer or interface value, any array, slice, map, or string of length zero, and zero `time.Time` values.
6
7
Everything else is truthy.