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

Function isBindingLikeAttributeName

packages/core/src/render3/i18n/i18n_parse.ts:1044–1052  ·  view source on GitHub ↗

* Whether an attribute name uses an Angular binding syntax (`[prop]`, `(event)`, `*structural`, * `#ref`, `@trigger`) rather than being a plain HTML attribute.

(attrName: string)

Source from the content-addressed store, hash-verified

1042 * `#ref`, `@trigger`) rather than being a plain HTML attribute.
1043 */
1044function isBindingLikeAttributeName(attrName: string): boolean {
1045 return (
1046 attrName.startsWith('[') ||
1047 attrName.startsWith('(') ||
1048 attrName.startsWith('*') ||
1049 attrName.startsWith('#') ||
1050 attrName.startsWith('@')
1051 );
1052}

Callers 1

walkIcuTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected