MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlXPathCastNodeSetToBoolean

Function xmlXPathCastNodeSetToBoolean

ThirdParty/libxml2/vtklibxml2/xpath.c:5008–5013  ·  view source on GitHub ↗

* xmlXPathCastNodeSetToBoolean: * @ns: a node-set * * Converts a node-set to its boolean value * * Returns the boolean value */

Source from the content-addressed store, hash-verified

5006 * Returns the boolean value
5007 */
5008int
5009xmlXPathCastNodeSetToBoolean (xmlNodeSetPtr ns) {
5010 if ((ns == NULL) || (ns->nodeNr == 0))
5011 return(0);
5012 return(1);
5013}
5014
5015/**
5016 * xmlXPathCastToBoolean:

Callers 1

xmlXPathCastToBooleanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected