aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/content/en/functions/compare/Lt.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/compare/Lt.md')
-rw-r--r--docs/content/en/functions/compare/Lt.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/content/en/functions/compare/Lt.md b/docs/content/en/functions/compare/Lt.md
new file mode 100644
index 000000000..3fe8f1d2c
--- /dev/null
+++ b/docs/content/en/functions/compare/Lt.md
@@ -0,0 +1,32 @@
+---
+title: compare.Lt
+description: Returns the boolean truth of arg1 < arg2 && arg1 < arg3.
+categories: []
+keywords: []
+action:
+ aliases: [lt]
+ related:
+ - functions/compare/Eq
+ - functions/compare/Ge
+ - functions/compare/Gt
+ - functions/compare/Le
+ - functions/compare/Ne
+ returnType: bool
+ signatures: ['compare.Lt ARG1 ARG2 [ARG...]']
+aliases: [/functions/lt]
+---
+
+```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
+```