def isPositiveNumber(value):
    """ Check if the input argument is a positive number. """
    if not (isinstance(value, float) or isinstance(value, int)):
        raise TypeError('The input argument has to be an number')
    if not value >= 0:
        raise ValueError('The input argument has to be positive')
