MCPcopy Create free account
hub / github.com/angular/angular / checkFullData

Function checkFullData

packages/common/src/i18n/locale_data_api.ts:625–635  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

623 ɵgetLocalePluralCase;
624
625function checkFullData(data: any) {
626 if (!data[ɵLocaleDataIndex.ExtraData]) {
627 throw new RuntimeError(
628 RuntimeErrorCode.MISSING_EXTRA_LOCALE_DATA_FOR_LOCALE,
629 ngDevMode &&
630 `Missing extra locale data for the locale "${
631 data[ɵLocaleDataIndex.LocaleId]
632 }". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`,
633 );
634 }
635}
636
637/**
638 * Retrieves locale-specific rules used to determine which day period to use

Callers 2

getLocaleExtraDayPeriodsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected