Function
mapToCanMatch
(providers: Array<Type<CanMatch>>)
Source from the content-addressed store, hash-verified
| 31 | * @see {@link Route} |
| 32 | */ |
| 33 | export function mapToCanMatch(providers: Array<Type<CanMatch>>): CanMatchFn[] { |
| 34 | return providers.map( |
| 35 | (provider) => |
| 36 | (...params) => |
| 37 | inject(provider).canMatch(...params), |
| 38 | ); |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Maps an array of injectable classes with canActivate functions to an array of equivalent |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…