---
title: ne
description: Returns the boolean truth of arg1 != arg2.
categories: [functions]
menu:
  docs:
    parent: functions
keywords: [operators,logic]
signature: ["ne ARG1 ARG2"]
relatedfuncs: []
---


```go-html-template
{{ if ne .Section "blog" }}current{{ end }}
```
