powered by
This function reads a variable coming from a text entry and checks whether it is character or not.It is used internally.
verifyCharEntry(x, noValid = "isNoValid")
The element to check
The output the function will return when the input is not character.
One-character strings are not allowed.
# NOT RUN { verifyCharEntry("Strawberry", noValid = "isNoValid") verifyCharEntry(235, noValid = "isNoValid") verifyCharEntry(235, noValid = NA) # }
Run the code above in your browser using DataLab