(marker: string | AttributeMarker | CssSelector)
| 87 | * @returns true if the marker is a "name-only" marker (e.g. `Bindings`, `Template` or `I18n`). |
| 88 | */ |
| 89 | export function isNameOnlyAttributeMarker(marker: string | AttributeMarker | CssSelector) { |
| 90 | return ( |
| 91 | marker === AttributeMarker.Bindings || |
| 92 | marker === AttributeMarker.Template || |
| 93 | marker === AttributeMarker.I18n |
| 94 | ); |
| 95 | } |
| 96 | |
| 97 | export function isAnimationProp(name: string): boolean { |
| 98 | // Perf note: accessing charCodeAt to check for the first character of a string is faster as |
no outgoing calls
no test coverage detected