#' Check that string is only numbers
#'
#' @param x
#'
#' @return
#' @export
#'
#' @examples
numbers_only <- function(x){
return(!grepl("\\D", x))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.