Which custom post type does the current post belong to?

get_post_type() should do what you’re asking.