(locale = 'en')
| 62 | } |
| 63 | |
| 64 | export function shouldPolyfill(locale = 'en'): string | true | undefined { |
| 65 | try { |
| 66 | if (_shouldPolyfillWithoutLocale() || !supportedLocalesOf(locale)) { |
| 67 | return match([locale], supportedLocales, 'en') |
| 68 | } |
| 69 | } catch { |
| 70 | return true |
| 71 | } |
| 72 | } |
no test coverage detected