Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


KarsTS (version 2.4.1)

verifyRealEntry: verifyRealEntry: verify character entries

Description

This function reads a variable coming from a text entry and checks whether it is real or not.It is used internally.

Usage

verifyRealEntry(x, noValid = "isNoValid")

Arguments

x

The element to check

noValid

The output the function will return when the input is not character.

Examples

Run this code
# NOT RUN {
verifyRealEntry("Strawberry", noValid = "isNoValid")
verifyRealEntry(235, noValid = NA)
verifyRealEntry(0235, noValid = NA)
verifyRealEntry(235.6, noValid = NA)

# }

Run the code above in your browser using DataLab