Sofu Documentation
IsList Method
NamespacesSofu.SofuListIsList()()()
Tests if this List is really a List
Declaration Syntax
C#
public override bool IsList()
Return Value
Returns true
Examples
CopyC#
Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu");
foreach (KeyValuePair<string,Sofu.SofuObject> entry in file) {
    if (entry.Value.IsList()) {
        foreach (SofuObject e in e.Value.AsList()) { // You don't need to catch exceptions here, IsList() makes sure it is a List.
            if (e.IsValue()) Console.WriteLine(e.AsValue().ToString());
        }
    }
}

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