C++ API
JAVA API
Python API
C API
Defined in File anf.h
Get the value from a node if it is a ValueNode.
Get the value with the given type from a node if it is a ValueNode.
node – [in] The node which may hold a value.
A pointer to the value, nullptr if the node is not a ValueNode, or value not set.
A pointer to the value, nullptr if the node is not a ValueNode, or value not set, or value type is mismatch.