Gets the tag's value at the given index, if it exists and can be casted to T. Otherwise returns defaultValue.
auto compound = new Compound(new Named!String("test", "value")); assert(compound.getValue!String("test", "") == "value"); assert(compound.getValue!Int("test", 0) == 0); assert(compound.getValue!String("miss", "miss") == "miss");
See Implementation
Gets the tag's value at the given index, if it exists and can be casted to T. Otherwise returns defaultValue.