This function checks that x
does not include any of the illegal
elements.
x
must be the same type as illegal
.
excludes_advanced(x, illegal)
Returns TRUE if x
is the same type as illegal
and x
does not include any of the illegal
elements.
Otherwise returns a string representing the appropriate error message to display
An object to check
The prohibited elements to check for