MCPcopy
hub / github.com/formatjs/formatjs / shouldPolyfill

Function shouldPolyfill

packages/intl-supportedvaluesof/should-polyfill.ts:1–3  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1export function shouldPolyfill(): boolean {
2 return typeof Intl === 'undefined' || !('supportedValuesOf' in Intl)
3}

Callers 1

polyfill.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected