__get_type
if (__get_type(val) != FGRAPH_TYPE_DATA)
while (__get_type(val) == FGRAPH_TYPE_DATA) {
type = __get_type(hdr->ctrl);