powered by
If the attribute htmlTable.style is set it will check if the style_name exists and return a logical.
htmlTable.style
style_name
logical
hasHtmlTableStyle(x, style_name)
TRUE if the attribute and style is not NULL
TRUE
NULL
The object intended for htmlTable().
htmlTable()
A string that contains the style name.
Other htmlTableStyle: addHtmlTableStyle()
addHtmlTableStyle()
library(magrittr) mx <- matrix(1:4, ncol = 2) colnames(mx) <- LETTERS[1:2] mx %>% addHtmlTableStyle(align = "l|r") %>% hasHtmlTableStyle("align")
Run the code above in your browser using DataLab