KT-4347 add indexOf function for Arrays