method RuleUtils.removeModifier
RuleUtils.removeModifier(
ruleProps: IAdblockRule,
name: string,
): boolean

Removes a modifier by name from the rule's options.

Parameters

ruleProps: IAdblockRule
name: string

Return Type

boolean

Usage

import { RuleUtils } from ".";