WordPress 2.1.0 Hooks, Functions, Classes and Methods
Page 14

get_post_type()

Retrieves the post type of the current post or of a given post.