endsWithDigit.Rd
This function checks whether a given string ends with a digit.
endsWithDigit(string)
The input string to be checked
TRUE if the string ends with a digit, FALSE otherwise
TRUE
FALSE
endsWithDigit("abc123") # Output: TRUE #> [1] TRUE endsWithDigit("xyz") # Output: FALSE #> [1] FALSE