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

579 B

title linkTitle description categories keywords menu function relatedFunctions aliases
compare.Eq eq Returns the boolean truth of arg1 == arg2 || arg1 == arg3.
functions
docs
parent
functions
aliases returnType signatures
eq
bool
compare.Eq ARG1 ARG2 [ARG...]
compare.Eq
compare.Ge
compare.Gt
compare.Le
compare.Lt
compare.Ne
/functions/eq
{{ eq 1 1 }} → true
{{ eq 1 2 }} → false

{{ eq 1 1 1 }} → true
{{ eq 1 1 2 }} → true
{{ eq 1 2 1 }} → true
{{ eq 1 2 2 }} → false