Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ operator bool()

static System.Xml.Linq.XElement.operator bool ( XElement element)
inlineexplicitstatic

Definition at line 705 of file XElement.cs.

706 {
707 if (element == null)
708 {
709 throw new ArgumentNullException("element");
710 }
711 return XmlConvert.ToBoolean(element.Value.ToLowerInvariant());
712 }

References System.Xml.XmlConvert.ToBoolean(), and System.Xml.Linq.XElement.Value.