Tests if string is like a proper name with inital letter in upper case

Description

Tests if string is like a proper name with inital letter in upper case

Usage

1

Arguments

aname

a character string

Value

boolean TRUE if ok

Author(s)

Reinhard Simon, Jose Francisco Loff

See Also

Other rule_checks: has.punct; has_punct; is.oneOf; is.onlyLowers; is.properName; is.withinRange; is_one_of; is_only_lowers; is_within_range

Examples

1
2
3
4
5
6
7
# Valid proper names

is_proper_name("John") == TRUE

is_proper_name("john") == FALSE

is_proper_name(123) == FALSE 

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.