If the attribute htmlTable.style is set it will check if
the style_name exists and return a logical.
Arguments
- x
The object intended for
htmlTable().- style_name
A string that contains the style name.
See also
Other htmlTableStyle:
addHtmlTableStyle(),
highlightRow()
Examples
mx <- matrix(1:4, ncol = 2)
colnames(mx) <- LETTERS[1:2]
mx |>
addHtmlTableStyle(align = "l|r") |>
hasHtmlTableStyle("align")
#> [1] TRUE