Perform a basic check on the type of an argument and its value(s) and set a default value if applicable.
Useful links