Tests if a specific element in this Map exists and is a Sofu.Value
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 ---"); }