MCPcopy Create free account
hub / github.com/angular/angular / isLongStringLiteral

Function isLongStringLiteral

packages/compiler/src/constant_pool.ts:271–277  ·  view source on GitHub ↗
(expr: o.Expression)

Source from the content-addressed store, hash-verified

269}
270
271function isLongStringLiteral(expr: o.Expression): boolean {
272 return (
273 expr instanceof o.LiteralExpr &&
274 typeof expr.value === 'string' &&
275 expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS
276 );
277}

Callers 1

getConstLiteralMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected