diff options
Diffstat (limited to 'docs/content/en/functions/go-template/_common/truthy-falsy.md')
-rw-r--r-- | docs/content/en/functions/go-template/_common/truthy-falsy.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/content/en/functions/go-template/_common/truthy-falsy.md b/docs/content/en/functions/go-template/_common/truthy-falsy.md index c8fc9e09e..c41bb6561 100644 --- a/docs/content/en/functions/go-template/_common/truthy-falsy.md +++ b/docs/content/en/functions/go-template/_common/truthy-falsy.md @@ -2,4 +2,6 @@ # Do not remove front matter. --- -In Go templates, the falsy values are `false`, `0`, any nil pointer or interface value, and any array, slice, map, or string of length zero. Everything else is truthy. +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. + +Everything else is truthy. |