array some() and every() functions