VoltDB.Data.Client.VoltDecimal.IsValidValue C# (CSharp) Method

IsValidValue() private static method

Returns whether a given BigDecimal value fits within the restrictions of the VoltDecimal type.
private static IsValidValue ( BigDecimal value ) : bool
value VoltDB.ThirdParty.Math.BigDecimal Value to check.
return bool
        private static bool IsValidValue(BigDecimal value)
        {
            if ((value == VoltDecimal.NullValue)
                || ((value >= VoltDecimal.MinValue) && (value <= VoltDecimal.MaxValue)))
                return true;
            return false;
        }