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

Function isMultipleMessageDecl

packages/ts-transformer/transform.ts:213–221  ·  view source on GitHub ↗
(
  ts: TypeScript,
  node: typescript.CallExpression
)

Source from the content-addressed store, hash-verified

211}
212
213function isMultipleMessageDecl(
214 ts: TypeScript,
215 node: typescript.CallExpression
216) {
217 return (
218 ts.isIdentifier(node.expression) &&
219 node.expression.text === 'defineMessages'
220 )
221}
222
223function isSingularMessageDecl(
224 ts: TypeScript,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected