(cfg: unknown)
| 36 | }; |
| 37 | |
| 38 | const isValidConfigFactoryResult = (cfg: unknown) => { |
| 39 | return typeof cfg === 'object' && cfg !== null && (!('contextName' in cfg) || cfg.contextName === contextName); |
| 40 | }; |
| 41 | |
| 42 | if (Array.isArray(tmp)) { |
| 43 | const tmpFirstIndex = tmp.findIndex(configFinder); |
no outgoing calls
no test coverage detected