MCPcopy Create free account
hub / github.com/angular/components / isNoopTreeKeyManager

Function isNoopTreeKeyManager

src/material/tree/node.ts:31–35  ·  view source on GitHub ↗

* Determinte if argument TreeKeyManager is the NoopTreeKeyManager. This function is safe to use with SSR.

(
  keyManager: TreeKeyManagerStrategy<T>,
)

Source from the content-addressed store, hash-verified

29 * Determinte if argument TreeKeyManager is the NoopTreeKeyManager. This function is safe to use with SSR.
30 */
31function 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.

Callers 1

_getTabindexAttributeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected