When testing some code I found that I had a configuration type that I knew was a scalar, i.e. is was not a sequence or map. However, is_scalar() was returning false. and only the actual is_int/float/bool/string() was returning as true depending on what type the scalar was. In addition also causes the size() of any int/float/bool/string nodes to cause an error.
When testing some code I found that I had a configuration type that I knew was a scalar, i.e. is was not a sequence or map. However, is_scalar() was returning false. and only the actual is_int/float/bool/string() was returning as true depending on what type the scalar was. In addition also causes the size() of any int/float/bool/string nodes to cause an error.
I have found the fix and will make a PR to fix.