hugo/docs/content/en/functions/lt.md
2023-06-13 20:43:03 +02:00

26 lines
510 B
Markdown

---
title: lt
description: Returns the boolean truth of arg1 < arg2 && arg1 < arg3.
categories: [functions]
menu:
docs:
parent: functions
keywords: [comparison,operators,logic]
signature: ["lt ARG1 ARG2 [ARG...]"]
relatedfuncs: []
---
```go-html-template
{{ lt 1 1 }} false
{{ lt 1 2 }} true
{{ lt 2 1 }} false
{{ lt 1 1 1 }} false
{{ lt 1 1 2 }} false
{{ lt 1 2 1 }} false
{{ lt 1 2 2 }} true
{{ lt 2 1 1 }} false
{{ lt 2 1 2 }} false
{{ lt 2 2 1 }} false
```