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

Function isUnsafeObjectKey

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

Source from the content-addressed store, hash-verified

177}
178
179export function isUnsafeObjectKey(key: string): boolean {
180 return UNSAFE_OBJECT_KEY_NAME_REGEXP.test(key);
181}
182
183/**
184 * Describes an expression that may have been wrapped in a `forwardRef()` guard.

Callers 10

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

Calls 1

testMethod · 0.45

Tested by

no test coverage detected