(match: RegExp, host?: string)
| 1235 | |
| 1236 | /** @internal */ |
| 1237 | export function isHostMatch(match: RegExp, host?: string): boolean { |
| 1238 | return host && match.test(host.toLowerCase()) ? true : false; |
| 1239 | } |
| 1240 | |
| 1241 | export function promiseWithResolvers<T>(): { |
| 1242 | promise: Promise<T>; |
no test coverage detected