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