MCPcopy Create free account
hub / github.com/adobe/react-spectrum / getCollectionId

Function getCollectionId

packages/react-aria/src/selection/utils.ts:49–51  ·  view source on GitHub ↗
(collection: Collection<any>)

Source from the content-addressed store, hash-verified

47}
48
49export function getCollectionId(collection: Collection<any>): string {
50 return collectionMap.get(collection)!;
51}

Callers 1

useSelectableItemFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected