summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/eq.md
blob: 77f75db374775a9fb542c1801893f8c554ed1daa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
title: eq
linktitle: eq
description: Returns the boolean truth of arg1 == arg2.
godocref:
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
categories: [functions]
menu:
  docs:
    parent: "functions"
keywords: [operators,logic]
signature: ["eq ARG1 ARG2"]
workson: []
hugoversion:
relatedfuncs: []
deprecated: false
aliases: []
---


```
{{ if eq .Section "blog" }}current{{ end }}
```