Lines Matching refs:in

2 Twig supports the in operator
4 {% if bar in foo %}
7 {% if not (bar in foo) %}
11 {% if bar not in foo %}
15 {% if 'a' in bar %}
18 {% if 'c' not in bar %}
21 {% if '' in bar %}
24 {% if '' in '' %}
27 {% if '0' not in '' %}
30 {% if 'a' not in '0' %}
33 {% if '0' in '0' %}
37 {{ false in [0, 1] ? 'TRUE' : 'FALSE' }}
38 {{ true in [0, 1] ? 'TRUE' : 'FALSE' }}
39 {{ '0' in [0, 1] ? 'TRUE' : 'FALSE' }}
40 {{ '' in [0, 1] ? 'TRUE' : 'FALSE' }}
41 {{ 0 in ['', 1] ? 'TRUE' : 'FALSE' }}
43 {{ '' in 'foo' ? 'TRUE' : 'FALSE' }}
44 {{ 0 in 'foo' ? 'TRUE' : 'FALSE' }}
45 {{ false in 'foo' ? 'TRUE' : 'FALSE' }}
46 {{ false in '100' ? 'TRUE' : 'FALSE' }}
47 {{ true in '100' ? 'TRUE' : 'FALSE' }}
49 {{ [] in [true, false] ? 'TRUE' : 'FALSE' }}
50 {{ [] in [true, ''] ? 'TRUE' : 'FALSE' }}
51 {{ [] in [true, []] ? 'TRUE' : 'FALSE' }}
54 {{ resource in 'foo'~resource ? 'TRUE' : 'FALSE' }}
55 {{ object in 'stdClass' ? 'TRUE' : 'FALSE' }}
56 {{ [] in 'Array' ? 'TRUE' : 'FALSE' }}
57 {{ dir_object in 'foo'~dir_object ? 'TRUE' : 'FALSE' }}
59 {{ ''~resource in resource ? 'TRUE' : 'FALSE' }}
60 {{ 'stdClass' in object ? 'TRUE' : 'FALSE' }}
61 {{ 'Array' in [] ? 'TRUE' : 'FALSE' }}
62 {{ ''~dir_object in dir_object ? 'TRUE' : 'FALSE' }}
64 {{ resource in [''~resource] ? 'TRUE' : 'FALSE' }}
65 {{ resource in [resource + 1 - 1] ? 'TRUE' : 'FALSE' }}
66 {{ dir_object in [''~dir_object] ? 'TRUE' : 'FALSE' }}
68 {{ 5 in 125 ? 'TRUE' : 'FALSE' }}
69 {{ 5 in '125' ? 'TRUE' : 'FALSE' }}
70 {{ '5' in 125 ? 'TRUE' : 'FALSE' }}
71 {{ '5' in '125' ? 'TRUE' : 'FALSE' }}
73 {{ 5.5 in 125.5 ? 'TRUE' : 'FALSE' }}
74 {{ 5.5 in '125.5' ? 'TRUE' : 'FALSE' }}
75 {{ '5.5' in 125.5 ? 'TRUE' : 'FALSE' }}