Skip to content

I18n.hasResourceBundle method

I18n › hasResourceBundle

Unofficial

Checks whether a resource bundle exists.

Signature:

hasResourceBundle(lng: string, ns: string): boolean

Parameters:

Parameter Type Description
lng string Language code.
ns string Namespace.

Returns: booleanWhether the bundle exists.