summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/eq.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/eq.md')
-rw-r--r--docs/content/en/functions/eq.md15
1 files changed, 10 insertions, 5 deletions
diff --git a/docs/content/en/functions/eq.md b/docs/content/en/functions/eq.md
index 98eca1aa5..d10539e49 100644
--- a/docs/content/en/functions/eq.md
+++ b/docs/content/en/functions/eq.md
@@ -1,16 +1,21 @@
---
title: eq
-description: Returns the boolean truth of arg1 == arg2.
+description: Returns the boolean truth of arg1 == arg2 || arg1 == arg3.
categories: [functions]
menu:
docs:
parent: functions
-keywords: [operators,logic]
-signature: ["eq ARG1 ARG2"]
+keywords: [comparison,operators,logic]
+signature: ["eq ARG1 ARG2 [ARG...]"]
relatedfuncs: []
---
-
```go-html-template
-{{ if eq .Section "blog" }}current{{ end }}
+{{ eq 1 1 }} → true
+{{ eq 1 2 }} → false
+
+{{ eq 1 1 1 }} → true
+{{ eq 1 1 2 }} → true
+{{ eq 1 2 1 }} → true
+{{ eq 1 2 2 }} → false
```