Defined in header <fkYAML/node.hpp>
fkyaml::basic_node::is_uint¶
Tests whether the node value is an unsigned integer.
Return Value¶
true if the node value is an unsigned integer, false otherwise.
Examples¶
Example
#include <iomanip>
#include <iostream>
#include <fkYAML/node.hpp>
int main() {
using namespace fkyaml::literals;
fkyaml::node n = "v: 15745692345339290292"_yaml;
std::cout << std::boolalpha << n["v"].is_uint() << std::endl;
return 0;
}
output: