Test for Type Code