Checks that the input contains honorifics (a.k.a. titles
or salutations).
Usage
is_honorific(x)
Arguments
x
Input to check.
Value
is_honorific returns TRUE if the input string contains
a valid UK postcode. The {assert_*} function returns nothing but throws an
error when the is_* function returns FALSE.
References
Many possibilities borrowed from the Salutation dropdown on
the MathWorks account creation page.
https://www.mathworks.com/accesslogin/createProfile.do