Tests if this SofuObject is a Sofu.Value
| C# |
public virtual bool IsValue()
True if it is a Value, false otherwise
Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu"); foreach (KeyValuePair<string,Sofu.SofuObject> entry in file) { if (entry.Value.IsValue()) Console.Out.WriteLine(entry.Value.AsValue().ToString()); }