MCPcopy Create free account
hub / github.com/bytebase/bytebase / isDynamic

Function isDynamic

frontend/scripts/check-react-i18n.mjs:160–162  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

158}
159
160function isDynamic(key) {
161 return DYNAMIC_PREFIXES.some((p) => key.startsWith(p));
162}
163
164// ---------------------------------------------------------------------------
165// Collect translation keys from source files

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected