summaryrefslogtreecommitdiffstats
path: root/docs/content/en/_common/functions/truthy-falsy.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/_common/functions/truthy-falsy.md')
-rw-r--r--docs/content/en/_common/functions/truthy-falsy.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/content/en/_common/functions/truthy-falsy.md b/docs/content/en/_common/functions/truthy-falsy.md
new file mode 100644
index 000000000..e15e58d61
--- /dev/null
+++ b/docs/content/en/_common/functions/truthy-falsy.md
@@ -0,0 +1,7 @@
+---
+_comment: Do not remove front matter.
+---
+
+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.