public static bool Or(dynamic a, dynamic b) { bool resultA = DynamicCast.ConvertToBoolean(a); bool resultB = DynamicCast.ConvertToBoolean(b); return(resultA || resultB); }
public static bool Not(dynamic a) { #if !NET_STANDARD_2_0 bool resultA = DynamicCast.ConvertToBoolean(a); return(!resultA); #else throw new WrongApiCompatibilityLevelException(); #endif }
public static bool Or(dynamic a, dynamic b) { #if !NET_STANDARD_2_0 bool resultA = DynamicCast.ConvertToBoolean(a); bool resultB = DynamicCast.ConvertToBoolean(b); return(resultA || resultB); #else throw new WrongApiCompatibilityLevelException(); #endif }
public static bool Not(dynamic a) { bool resultA = DynamicCast.ConvertToBoolean(a); return(!resultA); }