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

◆ cmpQueryBoolO()

static bool MS.Internal.Xml.XPath.LogicalExpr.cmpQueryBoolO ( Operator::Op op,
object val1,
object val2 )
inlinestaticprivate

Definition at line 238 of file LogicalExpr.cs.

239 {
240 double n = (new NodeSet(val1).MoveNext() ? 1.0 : 0.0);
241 double n2 = NumberFunctions.Number((bool)val2);
242 return cmpNumberNumberO(op, n, n2);
243 }
static bool cmpNumberNumberO(Operator.Op op, double n1, double n2)

References MS.Internal.Xml.XPath.LogicalExpr.cmpNumberNumberO(), System.Xml.XPath.NodeSet, and MS.Internal.Xml.XPath.NumberFunctions.Number().