hugo/docs/content/en/functions/eq.md
2023-06-13 20:43:03 +02:00

411 B

title description categories menu keywords signature relatedfuncs
eq Returns the boolean truth of arg1 == arg2 || arg1 == arg3.
functions
docs
parent
functions
comparison
operators
logic
eq ARG1 ARG2 [ARG...]
{{ 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