aws_lambda_decorators/validators.py
def validate(self, value=None):
        """
        Check if the value is less than the maximum.

        Args:
            value (float, int): Value to be validated.
        """
        if value is None:
            return True

        if isinstance(value, (float, int)):
            return self._condition >= value

        return False

        Check if the value is less than the maximum.

        Args:
            value (float, int): Value to be validated.
        
Check if the value is less than the maximum.
Check if the value is less than the maximum .
def validate(self, value=None):
        if value is None:
            return True
        if isinstance(value, (float, int)):
            return self._condition >= value
        return False
def validate ( self , value = None ) : if value is None : return True if isinstance ( value , ( float , int ) ) : return self . _condition >= value return False
Check if the value is less than the maximum.
Check if the value is less than the maximum .
"""
        Check if the value is less than the maximum.

        Args:
            value (float, int): Value to be validated.
        """
self
value
Value to be validated.
Value to be validated .