• Returns the RecipeRule object that is stored at the given path.

    Parameters

    • rules: RecipeRule[]

      The rule array to query

    • path: string

      Dot separated path to the rule that should be obtained.

    Returns RecipeRule

    Error If no rule exists for the given path.