Lines Matching refs:ends
2 Twig supports the "ends with" operator
4 {{ 'foo' ends with 'o' ? 'OK' : 'KO' }}
5 {{ not ('foo' ends with 'f') ? 'OK' : 'KO' }}
6 {{ not ('foo' ends with 'foowaytoolong') ? 'OK' : 'KO' }}
7 {{ 'foo' ends with '' ? 'OK' : 'KO' }}
8 {{ '1' ends with true ? 'OK' : 'KO' }}
9 {{ 1 ends with true ? 'OK' : 'KO' }}
10 {{ 0 ends with false ? 'OK' : 'KO' }}
11 {{ '' ends with false ? 'OK' : 'KO' }}
12 {{ false ends with false ? 'OK' : 'KO' }}
13 {{ false ends with '' ? 'OK' : 'KO' }}