title: Obtain Type of Value Stored in YAML::Node for yaml-cpp
body: <p>Given this code:</p>
  
  <pre><code>void LoadFromYaml(const YAML::Node&amp; node){
      const YAML::Node&amp; Data=node["Data"];
      if(Data){
          if(Data.ValueIsInt)// Do something with integer.
          if(Data.ValueIsFloat)// Do something with float.
          if(Data.ValueIsString)// Do something with string.
      }
  }
  </code></pre>
  
  <p>How do I check is the data contained in the YAML Node 'Data' is an integer, float, or a string? Note: I don't want to check if the Node is a scalar, map, sequence, etc.</p>