powered by
Takes UI input and tries to figure out if it's numeric or text
autocast(ui_input, quote_char = TRUE)
Best guess of type casting applied to the ui_input
UI input from a shiny form
TRUE will include double quotes in the character string
number = autocast('10') text = autocast('ten')
Run the code above in your browser using DataLab