Preparing search index...

    Function isNestedDirty

    • Returns true when an RHF dirtyFields slice marks anything dirty. The slice is either a boolean (scalar field) or a nested object/array whose dirtied leaves are true (field arrays, object fields like nutrition).

      Shared by every inline-error gate that opens on first interaction (ingredient rows, nutrition cells), so the dirty-tree walk lives in one place alongside the error-tree walks above.

      Parameters

      • node: unknown

      Returns boolean