Sofu Documentation
HasObject Method (index)
NamespacesSofu.SofuListHasObject(Int32)
Tests if the List has an object at "index".
Declaration Syntax
C#
public bool HasObject(
	int index
)
Parameters
index (Int32)
Index of the object to test for
Return Value
True if the Obect exists, false otherwise
Examples
CopyC#
Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu");
if (file.list("Buildtragets").HasObject(0)) {
    Console.WriteLine("Buildtargets has at least one entry");
    Consile.Write("That entry is a ");
    Consile.WriteLine(file.list("Buildtragets").Object(0).TypeString());
}

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