Skip to content

I18n.hasLoadedNamespace method

I18n › hasLoadedNamespace

Unofficial

Checks whether a namespace has been loaded.

Signature:

hasLoadedNamespace(ns: string | string[], options?: HasLoadedNamespaceOptions | undefined): boolean

Parameters:

Parameter Type Description
ns string | string[] Namespace or namespaces.
options? HasLoadedNamespaceOptions | undefined Additional options including lng.

Returns: booleanWhether the namespace has been loaded.