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

678 B

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