cyaml · Section 3
cyaml_type
NAME
cyaml_type - return the type tag of a node
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/cyaml.h> cyaml_node_type cyaml_type(cyaml node);
DESCRIPTION
Returns the cyaml_node_type tag of node, or CYAML_NULL when node is NULL. The tag is one of CYAML_NULL, CYAML_BOOL, CYAML_INTEGER, CYAML_FLOAT, CYAML_STRING, CYAML_LIST and CYAML_DICTIONARY.
PARAMETERS
node A DOM node handle, which may be NULL.
RETURN VALUE
A cyaml_node_type constant.