Skip to content

columnEntriesEqual

columnEntriesEqual<TFieldSlug>(a, b): boolean

Defined in: packages/core/src/collections/listView/listViewColumnOrder.ts:136

Deep-equal, order-sensitive comparison of two ColumnEntry arrays — field/width/pinned/hidden only (Decision 48’s cols= URL grammar never carries enableSorting/enableHiding, so those two never factor into “does this differ from the saved baseline” for URL-diffing purposes; useSavedListViews.ts’s diffViewState reuses this same function for the SAME reason — a view’s own capability overrides, when a saved view happens to declare them, aren’t something any current UI control can produce a user-visible “Modified” state for). Used by listViewUrlState.ts’s serializeListViewUrlState (is cols= redundant against the active view’s own baseline?) and useSavedListViews.ts’s diffViewState (does the active view’s live columns state differ from what’s saved?).

TFieldSlug extends string

ColumnEntry<TFieldSlug>[]

One column-entry array.

ColumnEntry<TFieldSlug>[]

The other.

boolean

Whether every position’s field/width/pinned/hidden match.