API to find an object type


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.


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? for the relevant information.

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