Ne.md - hugo - [fork] hugo port for 9front
(HTM) git clone https://git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
Ne.md (555B)
---
1 ---
2 title: compare.Ne
3 description: Returns the boolean truth of arg1 != arg2 && arg1 != arg3.
4 categories: []
5 keywords: []
6 params:
7 functions_and_methods:
8 aliases: [ne]
9 returnType: bool
10 signatures: ['compare.Ne ARG1 ARG2 [ARG...]']
11 aliases: [/functions/ne]
12 ---
13
14 ```go-html-template
15 {{ ne 1 1 }} → false
16 {{ ne 1 2 }} → true
17
18 {{ ne 1 1 1 }} → false
19 {{ ne 1 1 2 }} → false
20 {{ ne 1 2 1 }} → false
21 {{ ne 1 2 2 }} → true
22 ```
23
24 You can also use the `compare.Ne` function to compare strings, boolean values, dates, slices, maps, and pages.