Quote:
Originally Posted by ownedbycats
$#kobostatus is enumerated. I use the template to semi-automatically generate/update it during certain action chains.
|
In that case, because it can have only one value using '== is better for performance than 'in'. As in
Code:
elif '[Kobo Store]' == $#kobostatus then '[Kobo Store]'
But this only matters if this is a custom column template. In an action chain the small performance difference doesn't matter as it seldom runs.
I suggest you go with the code you understand.