Merge commit '3c1deaf201a35de08d23cc58f8f03682cace3349'

This commit is contained in:
Bjørn Erik Pedersen
2023-06-13 20:43:03 +02:00
10 changed files with 87 additions and 36 deletions

View File

@@ -1,16 +1,26 @@
---
title: gt
description: Returns the boolean truth of arg1 > arg2.
description: Returns the boolean truth of arg1 > arg2 && arg1 > arg3.
categories: [functions]
menu:
docs:
parent: functions
keywords: [operators,logic]
signature: ["gt ARG1 ARG2"]
keywords: [comparison,operators,logic]
signature: ["gt ARG1 ARG2 [ARG...]"]
relatedfuncs: []
---
```go-html-template
{{ if gt 10 5 }}true{{ end }}
{{ gt 1 1 }} → false
{{ gt 1 2 }} → false
{{ gt 2 1 }} → true
{{ gt 1 1 1 }} → false
{{ gt 1 1 2 }} → false
{{ gt 1 2 1 }} → false
{{ gt 1 2 2 }} → false
{{ gt 2 1 1 }} → true
{{ gt 2 1 2 }} → false
{{ gt 2 2 1 }} → false
```