Tests if this SofuObject is a Sofu.Map
Declaration Syntax
C# |
public virtual bool IsMap()
Return Value
True if it is a Map, false otherwise
Examples
CopyC#
Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu"); foreach (KeyValuePair<string,Sofu.SofuObject> entry in file) { if (entry.Value.IsMap()) { Sofu.Sofu.Map mymap = entry.Value.AsMap(); mymap.Write(entry.Key+".sofu"); //Splits one .sofu into Sub Trees. } }