Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to check the existence of an element in an array ?

Hi friends,

Please, suppose that I have:

fr = [ 2,5,6]

Now I wanna check if a 4th element exists in the array, and the result would be NO, please is there a way to check it ?

Please note that I wanna check if an element exists in a certain position, not the element itself;

Thanks,

Andre