@refinio/one.models
    Preparing search index...

    Function overwriteRule

    • This overwrites an existing rule.

      Parameters

      • rules: RecipeRule[]

        The rule array to modify

      • path: string

        Dot separated path to the parent rule whose rule array shall be altered

      • rule: RecipeRule

        The rule to add.

      Returns void

      Error when the rule at the specified path does not exist.