Sofu Documentation
HasElement Method (index)
NamespacesSofu.SofuListHasElement(Int32)
Deprecated - Use HasObject instead - Tests if the List has an object at "index".
Declaration Syntax
C#
public bool HasElement(
	int index
)
Parameters
index (Int32)
Index of the object to test for
Return Value
Same as HasObject
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)