Sofu Documentation
IsList Method
NamespacesSofu.SofuReferenceIsList()()()
Checks if the referent is a List
Declaration Syntax
C#
public override bool IsList()
Return Value
True if the referent exists and is a List
Examples
CopyC#
Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu");
            file.SetAttribute("Foo",new Sofu.Sofu.Reference("someref",new Sofu.Sofu.List()));
            foreach (KeyValuePair<string,Sofu.SofuObject> entry in file) {
                if (entry.Value.IsList()) {
                    Console.Out.Write(entry.Key.ToString());
                    Console.Out.WriteLine(" is a List");//Writes at least "Foo is a List"
                }
            }

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