Defined in header <fkYAML/node.hpp>
fkyaml::basic_node::is_null¶
Tests whether the node value type is node_t::NULL_OBJECT
.
Return Value¶
true
if the type is node_t::NULL_OBJECT
, false
otherwise.
Example
#include <iomanip>
#include <iostream>
#include <fkYAML/node.hpp>
int main() {
fkyaml::node n;
std::cout << std::boolalpha << n.is_null() << std::endl;
return 0;
}
output: