Garnet pegmatite and allied rock types and in certain low grade metamorphic phyllites. Spessartine of an orange-yellow is found in Madagascar. Violet-red spessartines are found in rhyolites in Colorado and Maine. Blue pyrope–spessartine garnets were discovered in the late 1990s in Bekily, Madagascar. This type has also been found in parts of the United States, Russia, Kenya, Tanzania, and Turkey. It changes color from blue-green to purple depending on the color temperature of viewing light, as a result of the relatively high amounts of vanadium (about 1 wt.% VO). Other varieties of color-changing garnets exist. In daylight, their color ranges from
Type introspection an object. For example: Also, the built-in functions codice_15 and codice_16 can be used to determine what an object "is" while codice_17 can determine what an object "does". For example: In Python 2 but not Python 3, declaring codice_18 instead of codice_19 will result in codice_15 returning the generic codice_21 type instead of the class. In ActionScript the function flash.utils.getQualifiedClassName can be used to retrieve the Class/Type name of an arbitrary Object. Or alternatively in actionscipt the operator is can be used to determine if an object is of a specific type This second function can be used to test