ref: 1b4e0c4161fb631add62e77f494a7e62c3619020
dir: /docs/content/functions/eq.md/
---
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 }}
```