if you have a array like ('a', 'b') and check $.inArray('a', thearray); you get the index, which is 0, and could be false. So you need to check the result further and it's annoying...
Is there a quick method trough which I can get only true/false, and not the indexes?
basically I have a string in a html5 data attribute: data-options="a,b,c" and 3 a, b, c variables in javascript that must take true/false values based on what's inside data-options...