check_limit {wikkitidy} | R Documentation |
Ensure that the limit is correct for the endpoint. Raise an error if not.
check_limit(limit, max)
limit |
The limit to be added to the query |
max |
The maximum allowed for the given endpoint |
limit
, assuming no errors