powered by
Convert a DEXi string to logical. "TRUE", "T" and "1" are interpreted as TRUE, all other strings as FALSE.
"TRUE"
"T"
"1"
TRUE
FALSE
dexi_bool(x)
logical(1).
logical(1)
character(1).
dexi_bool("TRUE") sapply(c("TRUE", "T", "1", TRUE, 1, "FALSE", "F", "0", NULL, NA, NaN), dexi_bool)
Run the code above in your browser using DataLab