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

Function isUnsafeObjectKey

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

Source from the content-addressed store, hash-verified

90}
91
92export function isUnsafeObjectKey(key: string): boolean {
93 return UNSAFE_OBJECT_KEY_NAME_REGEXP.test(key);
94}
95
96/**
97 * 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