select(L, T)
The order of the elements in the result will be the same as in the original list L, and the class of the result will be the same as the class of L.
i1 : select({1,"2",3.14,4+5*ii}, ZZ) o1 = {1} o1 : List
i2 : select([1,"2",3.14,4+5*ii], RR) o2 = [3.14] o2 : Array