API to find an object type

Hi,

is there any API to get the object type give a YANG path?
like whether the path is a container or list?
Please let me know.

Thanks,
-karthi

You can refer to this posting at How to identify if a node is a list vs a container in the confd_cs_node data structure? - #2 by waitai for the relevant information.

Thanks for the pointer. It helped me to find the object type.