stri_prepare_arg_logical_1: Prepare a Logical Vector Argument [Single Value] [internal]
Description
This is an internal function. However, the interested user
may play with it in order to get more insight on how
stringi deals with its functions' arguments. See
`Value' section for details.Usage
stri_prepare_arg_logical_1(x)
Value
- In the first place,
stri_prepare_arg_logical
is called. On an empty vector, an error is generated. If
there are more than 1 elements, a warning is generated. A
vector with one element (the first in x
) is
returned.