mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
21 lines
413 B
Markdown
21 lines
413 B
Markdown
---
|
|
title: ne
|
|
description: Returns the boolean truth of arg1 != arg2 && arg1 != arg3.
|
|
categories: [functions]
|
|
menu:
|
|
docs:
|
|
parent: functions
|
|
keywords: [comparison,operators,logic]
|
|
signature: ["ne ARG1 ARG2 [ARG...]"]
|
|
relatedfuncs: []
|
|
---
|
|
|
|
```go-html-template
|
|
{{ ne 1 1 }} → false
|
|
{{ ne 1 2 }} → true
|
|
|
|
{{ ne 1 1 1 }} → false
|
|
{{ ne 1 1 2 }} → false
|
|
{{ ne 1 2 1 }} → false
|
|
{{ ne 1 2 2 }} → true
|
|
```
|