Get the last revision id of any given entity?
I think entity_extract_ids() is the quickest you'll get:


  Helper function to extract id, vid, and bundle name from an entity.


e.g.

list($nid, $vid, $bundle) = entity_extract_ids('node', $some_node);