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)
The object intended for htmlTable().
htmlTable()
A string that contains the style name.
logical TRUE if the attribute and style is not NULL
TRUE
NULL
Other htmlTableStyle: addHtmlTableStyle()
addHtmlTableStyle()
# NOT RUN { 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