LanguagePolicyConverter class
Language policy converter that implements Converter
.
Methods
convert(Record<string, string[]> | Language |
Converts an object to a LanguagePolicy instance. |
Method Details
convert(Record<string, string[]> | LanguagePolicy)
Converts an object to a LanguagePolicy instance.
function convert(value: Record<string, string[]> | LanguagePolicy): LanguagePolicy
Parameters
- value
-
Record<string, string[]> | LanguagePolicy
Object.
Returns
A new LanguagePolicy instance.