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