Checks if the referent is a Map

C# |
public override bool IsMap()

True if the referent exists and is a Map


Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu"); file.SetAttribute("Foo",new Sofu.Sofu.Reference("someref",new Sofu.Sofu.Map())); foreach (KeyValuePair<string,Sofu.SofuObject> entry in file) { if (entry.Value.IsList()) { Console.Out.Write(entry.Key.ToString()); Console.Out.WriteLine(" is a Map"); //Writes at least "Foo is a Map" } }