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

Function isUnsafeObjectKey

packages/compiler/src/render3/util.ts:105–107  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

103}
104
105export function isUnsafeObjectKey(key: string): boolean {
106 return UNSAFE_OBJECT_KEY_NAME_REGEXP.test(key);
107}
108
109/**
110 * Describes an expression that may have been wrapped in a `forwardRef()` guard.

Callers 8

executeMethod · 0.90
reifyCreateOperationsFunction · 0.90
visitClassDeclarationMethod · 0.90
transformClassMethod · 0.90

Calls 1

testMethod · 0.45

Tested by

no test coverage detected