MCPcopy Create free account
hub / github.com/react-dnd/react-dnd / isSourceId

Method isSourceId

packages/dnd-core/src/HandlerRegistry.js:126–129  ·  view source on GitHub ↗
(handlerId)

Source from the content-addressed store, hash-verified

124 }
125
126 isSourceId(handlerId) {
127 const role = parseRoleFromHandlerId(handlerId);
128 return role === HandlerRoles.SOURCE;
129 }
130
131 isTargetId(handlerId) {
132 const role = parseRoleFromHandlerId(handlerId);

Callers 3

getSourceMethod · 0.95
getSourceTypeMethod · 0.95

Calls 1

parseRoleFromHandlerIdFunction · 0.85

Tested by

no test coverage detected