Check out example codes for "how to check if its a character in r". It will help you in understanding the concepts better.

Code Example 1

a = "test"
is.character(a)
# TRUE

Learn ReactJs, React Native from akashmittal.com