MCPcopy Index your code
hub / github.com/simstudioai/sim / fitsAfter

Function fitsAfter

apps/sim/hooks/queries/tables.ts:783–787  ·  view source on GitHub ↗
(last: TableRow | undefined)

Source from the content-addressed store, hash-verified

781 )
782 : [...rows].sort((a, b) => a.position - b.position)
783 const fitsAfter = (last: TableRow | undefined) =>
784 last === undefined ||
785 (byKey
786 ? (last.orderKey as string) >= (row.orderKey as string)
787 : last.position >= row.position)
788
789 const pages = byKey
790 ? old.pages

Callers 1

reconcileCreatedRowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected