MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / canInsertItems

Method canInsertItems

src/utils/VirtualScroller.ts:778–780  ·  view source on GitHub ↗
(options: VirtualScrollerInsertOptions<T>)

Source from the content-addressed store, hash-verified

776 }
777
778 canInsertItems(options: VirtualScrollerInsertOptions<T>): boolean {
779 return this.buildEntriesAfterInsertion(options) !== null;
780 }
781
782 insertItems(options: VirtualScrollerInsertOptions<T>): boolean {
783 const nextEntries = this.buildEntriesAfterInsertion(options);

Calls 1

Tested by

no test coverage detected