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

Method flattenNodes

src/cdk/collections/tree-adapter.ts:17–17  ·  view source on GitHub ↗

Transforms a set of hierarchical structured data into a flattened data array.

(structuredData: any[])

Source from the content-addressed store, hash-verified

15export interface TreeDataNodeFlattener<T> {
16 /** Transforms a set of hierarchical structured data into a flattened data array. */
17 flattenNodes(structuredData: any[]): T[];
18
19 /**
20 * Expands a flattened array of data into its hierarchical form using the provided expansion

Callers 1

dataMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected