MCPcopy Index your code
hub / github.com/formatjs/formatjs / isBuiltinFormatter

Function isBuiltinFormatter

packages/cli-lib/extract.ts:132–138  ·  view source on GitHub ↗
(
  format: ExtractOpts['format']
)

Source from the content-addressed store, hash-verified

130}
131
132function isBuiltinFormatter(
133 format: ExtractOpts['format']
134): format is string | undefined {
135 return (
136 !format || (typeof format === 'string' && BUILTIN_FORMATTERS.has(format))
137 )
138}
139
140function canExtractWithNative(
141 files: readonly string[],

Callers 1

canExtractWithNativeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected