primitive type comparison internal inspection