Sofu Documentation
IsDefined Method
NamespacesSofu.SofuSofuObjectIsDefined()()()
Tests if this SofuObject is anything else than a Sofu.Sofu.Undefined
Declaration Syntax
C#
public virtual bool IsDefined()
Return Value
False if it is a Undefined, true otherwise
Examples
CopyC#
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");
    }
}

Assembly: Sofu (Module: Sofu) Version: 0.2.1.0 (0.2.1.0)