Tests if the List has a Sofu.List at "index".
Parameters
- index (Int32)
- Index of the element to look for
Return Value
True if the element is there and is a List, false otherwise
Examples
CopyC#
Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu"); if (file.list("Buildtragets").HasList(0)) { Console.WriteLine("The First buildtarget has other targets"); } if (file.list("Buildtragets").HasObject(1) && file.list("Buildtragets").Object(1).IsList()) { //Same as HasList(1) Console.WriteLine("The Second buildtarget has other targets as well"); }