vector. This must be an atomic vector, and will be coerced to
a character vector
type
function that transforms the string to type
autostart
integer; number of elements to test before concluding that
string is of the suggested type. (Default: 30)
...
arguments passed to subsequent functions
Details
str_is determines if the string belongs to one of the supported
lettercase types. Comparisons are made by comparing the original string
to a transformed version of the string. If the two are identical, then
the functions are equivalent.
autostart determines the maximum number of values
make_str_is and make_string_are are metafunctions that return
functions that test for the given lettercase types.
Value
For str_is a logical vector indicating which entries of string
are of the specified type,
For str_is_all and str_are a logical vector of length one
indicating whether all of string is of the specified type(s)
For make_str_is and make_str_are functions that return
functions that accept a single argument and return whether the string is of
the specified types.