glyph_to_type str[, str] -> str

This will look up the given glyph (and if given color) and return a tile type for it. Note that monsters and items (and any other miss) will return "obscured".

glyph_is_monster str -> bool

Returns whether the given glyph is that of a monster.

glyph_is_item str -> bool

Returns whether the given glyph is that of an item.