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

Function isBuiltinFormatter

packages/cli-lib/compile.ts:115–119  ·  view source on GitHub ↗
(
  format: string | Formatter<unknown>
)

Source from the content-addressed store, hash-verified

113}
114
115function isBuiltinFormatter(
116 format: string | Formatter<unknown>
117): format is string {
118 return typeof format === 'string' && BUILTIN_FORMATTERS.has(format)
119}
120
121async function compileWithCustomFormatter(
122 inputFiles: string[],

Callers 1

compileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected