{"version":3,"file":"useHasEntity.cjs","sources":["../../../../../packages/react-binding/src/accessorPropagation/useHasEntity.ts"],"sourcesContent":["import { useContext } from 'react'\nimport { EntityKeyContext } from './EntityKeyContext'\n\nexport const useHasEntity = (): boolean => {\n\treturn useContext(EntityKeyContext) !== undefined\n}\n"],"names":["useContext","EntityKeyContext"],"mappings":";;;;AAGO,MAAM,eAAe,MAAe;AACnC,SAAAA,MAAA,WAAWC,iCAAgB,MAAM;AACzC;;"}