(name: string)
| 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 |
| 99 | // compared to accessing a character at index 0 (ex. name[0]). The main reason for this is that |
| 100 | // charCodeAt doesn't allocate memory to return a substring. |
| 101 | return name.charCodeAt(0) === CharCode.AT_SIGN; |
| 102 | } |
| 103 | |
| 104 | /** |
| 105 | * Merges `src` `TAttributes` into `dst` `TAttributes` removing any duplicates in the process. |
no outgoing calls
no test coverage detected
searching dependent graphs…