Allow multiple arguments in ne/ge/gt/le/lt functions
authorTan Yuanhong <leotan.yh@gmail.com>
Sun, 19 Jan 2020 12:52:06 +0000 (20:52 +0800)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 23 Jan 2020 09:36:35 +0000 (10:36 +0100)
commit0c251be66bf3ad4abafbc47583e394ca4e6ffcf1
tree2791f8d05ddbb957d261a4c26e34619f3b515d01
parent836c24261f9f175254256fb326d92a3db47e1c75
Allow multiple arguments in ne/ge/gt/le/lt functions
Treat op arg1 arg2 arg3 ... as (arg1 op arg2) && (arg1 op arg3)
and so on for ne/ge/gt/le/lt.

Closes #6619
tpl/compare/compare.go
tpl/compare/compare_test.go