Tests if this SofuObject is anything else than a Sofu.Sofu.Undefined
| C# |
public virtual bool IsDefined()
False if it is a Undefined, true otherwise
Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu"); foreach (KeyValuePair<string,Sofu.SofuObject> entry in file) { if (entry.Value.IsDefined()) { Console.Out.Write(entry.Key); Console.Out.WriteLine(" is defined"); } }