identify document or folder and user or group

Hi All,

Suppose I have a rule input of type doc or folder, I need to perform a check whether the passed data is actually a doc or folder. Any idea on how to implement this?

The same goes with the case of User or group. Have tried using typeof() but it doesn't work for me.

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data