Hi guys!
Does anybody know, how can I check if the value is in the Array?
var myArray:Array = Array("firstElement", "secondElement", "thirdElement");
if( myArray.isInArray("firstElement")){
trace("true");
} else {
trace("false");
}
Hi guys!
Does anybody know, how can I check if the value is in the Array?
var myArray:Array = Array("firstElement", "secondElement", "thirdElement");
if( myArray.isInArray("firstElement")){
trace("true");
} else {
trace("false");
}
:: Copyright KIRUPA 2024 //--