Plug in/function which return Object type by uuid

Hi

 

Do we have any plug - in or function which will return object type when we pass UUID. I am using "getcontentdetailsbyuuid" but for expression rules and Query rules and constants it is giving "Rule or Constant" as object type, but I am looking for specific out put i.e if I pass Expression Rule uuid to the function/plugin should return object type as expression rule and if I pass Query Rule uuid to the function/plugin should return object type as query  rule.

 

-Ravindar

  Discussion posts and replies are publicly visible