View source: R/error_handling.R
| validate_max_results | R Documentation |
Specialized validation functions for YouTube API parameters Validate max_results parameter
validate_max_results(max_results, api_max = 50, name = "max_results")
max_results |
Value to validate |
api_max |
Maximum allowed by the API endpoint (default: 50) |
name |
Parameter name for error messages |
Invisible NULL if valid, stops execution if invalid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.