- Preparing search index...
- The search index is not available
biorate
Function hasLoadedNamespace
- hasLoadedNamespace(ns, options?): boolean
-
Parameters
-
ns: string | readonly string[]
-
Optional
options: {
lng?: string | readonly string[];
precheck: ((i18n, loadNotPending) => boolean);
}
Optional
-
Optional
lng?: string | readonly string[]
-
precheck: ((i18n, loadNotPending) => boolean)
-
- (i18n, loadNotPending): boolean
-
Parameters
-
-
loadNotPending: ((lng, ns) => boolean)
-
- (lng, ns): boolean
-
Parameters
-
lng: string | readonly string[]
-
ns: string | readonly string[]
Returns boolean
Returns boolean
Returns boolean
- hasLoadedNamespace(ns, options?): boolean
-
Parameters
-
ns: string
-
Optional
options: Pick<InitOptions<object>, "fallbackLng">
Optional
Returns boolean
Checks if namespace has loaded yet. i.e. used by react-i18next