Sofu Documentation
HasValue Method (key)
NamespacesSofu.SofuMapHasValue(String)
Tests if a specific element in this Map exists and is a Sofu.Value
Declaration Syntax
C#
public bool HasValue(
	string key
)
Parameters
key (String)
Element to look for
Return Value
True if the element is there and is a Value, false otherwise
Examples
CopyC#
Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu");
if (file.HasValue("Title")) {
    Console.WriteLine(file.value("Title").ToString());
}
else {
    Console.Out.WriteLine("--- INSERT TITLE HERE ---");
}

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