autocast {formods} | R Documentation |
Takes UI input and tries to figure out if it's numeric or text
autocast(ui_input, quote_char = TRUE)
ui_input |
UI input from a shiny form |
quote_char |
TRUE will include double quotes in the character string |
Best guess of type casting applied to the ui_input
number = autocast('10')
text = autocast('ten')