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

Function isLongStringLiteral

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

Source from the content-addressed store, hash-verified

278}
279
280function isLongStringLiteral(expr: o.Expression): boolean {
281 return (
282 expr instanceof o.LiteralExpr &&
283 typeof expr.value === 'string' &&
284 expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS
285 );
286}

Callers 1

getConstLiteralMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected