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

◆ operator bool?()

static System.Xml.Linq.XAttribute.operator bool? ( XAttribute? attribute)
inlineexplicitstatic

Definition at line 167 of file XAttribute.cs.

168 {
169 if (attribute == null)
170 {
171 return null;
172 }
173 return XmlConvert.ToBoolean(attribute.value.ToLowerInvariant());
174 }

References System.Xml.XmlConvert.ToBoolean().