* Determinte if argument TreeKeyManager is the NoopTreeKeyManager. This function is safe to use with SSR.
( keyManager: TreeKeyManagerStrategy<T>, )
| 29 | * Determinte if argument TreeKeyManager is the NoopTreeKeyManager. This function is safe to use with SSR. |
| 30 | */ |
| 31 | function isNoopTreeKeyManager<T extends TreeKeyManagerItem>( |
| 32 | keyManager: TreeKeyManagerStrategy<T>, |
| 33 | ): keyManager is NoopTreeKeyManager<T> { |
| 34 | return !!(keyManager as NoopTreeKeyManager<T>)._isNoopTreeKeyManager; |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Wrapper for the CdkTree node with Material design styles. |
no outgoing calls
no test coverage detected