MCPcopy Index your code
hub / github.com/angular/angular / isUnsafeObjectKey

Function isUnsafeObjectKey

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

Source from the content-addressed store, hash-verified

97}
98
99export function isUnsafeObjectKey(key: string): boolean {
100 return UNSAFE_OBJECT_KEY_NAME_REGEXP.test(key);
101}
102
103/**
104 * Describes an expression that may have been wrapped in a `forwardRef()` guard.

Callers 7

executeMethod · 0.90
visitClassDeclarationMethod · 0.90
transformClassMethod · 0.90

Calls 1

testMethod · 0.45

Tested by

no test coverage detected