MCPcopy Index your code
hub / github.com/react/react / hasAssignedBackend

Function hasAssignedBackend

packages/react-devtools-shared/src/backend/utils/index.js:22–27  ·  view source on GitHub ↗
(version?: string)

Source from the content-addressed store, hash-verified

20// TODO: update this to the first React version that has a corresponding DevTools backend
21const FIRST_DEVTOOLS_BACKEND_LOCKSTEP_VER = '999.9.9';
22export function hasAssignedBackend(version?: string): boolean {
23 if (version == null || version === '') {
24 return false;
25 }
26 return gte(version, FIRST_DEVTOOLS_BACKEND_LOCKSTEP_VER);
27}
28
29export function cleanForBridge(
30 data: Object | null,

Callers 2

isMatchingRenderFunction · 0.90
registerRendererFunction · 0.90

Calls 1

gteFunction · 0.85

Tested by

no test coverage detected