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

Function splitQueries

src/cdk/layout/breakpoints-observer.ts:138–143  ·  view source on GitHub ↗

* Split each query string into separate query strings if two queries are provided as comma * separated.

(queries: readonly string[])

Source from the content-addressed store, hash-verified

136 * separated.
137 */
138function splitQueries(queries: readonly string[]): readonly string[] {
139 return queries
140 .map(query => query.split(','))
141 .reduce((a1, a2) => a1.concat(a2))
142 .map(query => query.trim());
143}

Callers 2

isMatchedMethod · 0.85
observeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected