Sofu Documentation
HasMap Method (key)
NamespacesSofu.SofuMapHasMap(String)
Tests if a specific element in this Map exists and is a Sofu.Map
Declaration Syntax
C#
public bool HasMap(
	string key
)
Parameters
key (String)
Element to look for
Return Value
True if the element is there and is a Map, false otherwise
Examples
CopyC#
Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu");
if (file.HasMap("Output")) {
    file.map("Output").Write("output.sofu");
}
else {
    Sofu.Sofu.Map output = new Sofu.Sofu.Map();
    output.Write("output.sofu");
}

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