hugo/docs/content/en/functions/compare/Le.md
2023-10-20 09:43:56 +02:00

676 B

title linkTitle description categories keywords menu function relatedFunctions aliases
compare.Le le Returns the boolean truth of arg1 <= arg2 && arg1 <= arg3.
functions
docs
parent
functions
aliases returnType signatures
le
bool
compare.Le ARG1 ARG2 [ARG...]
compare.Eq
compare.Ge
compare.Gt
compare.Le
compare.Lt
compare.Ne
/functions/le
{{ 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