check_limit {wikkitidy} | R Documentation |
Ensure that the limit is correct for the endpoint. Raise an error if not.
Description
Ensure that the limit is correct for the endpoint. Raise an error if not.
Usage
check_limit(limit, max)
Arguments
limit |
The limit to be added to the query |
max |
The maximum allowed for the given endpoint |
Value
limit
, assuming no errors
[Package wikkitidy version 0.1.14 Index]