Closed
Description
In #6022, we introduced the is.element()
function to test if some object is an element_rect()
, element_text()
, element_blank()
etc.:
Lines 205 to 207 in ddd207e
However, there is also base::is.element()
, which acts as %in%
. Since it is unlikely that base will rename that function anytime soon, we might have to come up with an alternative name for testing if an object is any of the theme elements. Should we just use is.theme_element()
?