deleteRule

fun deleteRule(index: Int)(source)

The deleteRule() method of the CSSGroupingRule interface removes a CSS rule from a list of child CSS rules.

MDN Reference