IN_LIST¶
This generator expression belongs to the List Expressions family. See that section for related generator expressions.
Syntax¶
$<IN_LIST:string,list>
Added in version 3.12.
1 if string is an item in the semicolon-separated list, else 0.
It uses case-sensitive comparisons.