MCPcopy
hub / github.com/facebook/react / gt

Function gt

packages/react-devtools-shared/src/backend/utils/index.js:244–246  ·  view source on GitHub ↗
(a: string = '', b: string = '')

Source from the content-addressed store, hash-verified

242}
243
244export function gt(a: string = '', b: string = ''): boolean {
245 return compareVersions(a, b) === 1;
246}
247
248export function gte(a: string = '', b: string = ''): boolean {
249 return compareVersions(a, b) > -1;

Callers 2

utils-test.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected