deleteRule

fun deleteRule(index: Int)(source)

The CSSStyleSheet method deleteRule() removes a rule from the stylesheet object.

MDN Reference