check if type array is empty