extract vector of labels

getTypes(iarr)