strs_isdigit | R Documentation |
strs_isdigit
checks whether each element of a character vector contains
only digits. It is similar to Python's str.isdigit()
method.
strs_isdigit(string)
string |
A character vector to be checked. |
A logical vector of the same length as string
, indicating whether
each element contains only digits.
Python str.isdigit() documentation
strs_isdigit("12345")
strs_isdigit("123a")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.