Example #1
0
 public static object Or(object x, object y)
 {
     if (ObjectValue.IsBool(x, y))
     {
         return(BooleanValue.Or((bool)x, (bool)y));
     }
     return(null);
 }
Example #2
0
 public static bool Add(bool b1, bool b2)
 {
     return(BooleanValue.Or(b1, b2));
 }