Skip to main content

check_for_language

No overview available.

def check_for_language(
x: any
) - > boolean

Determines if a specific language is present or supported within the provided input.

Parameters

NameTypeDescription
xanyThe input value, such as a string or locale code, to be evaluated for language content.

Returns

TypeDescription
booleanA boolean flag indicating whether the language check was successful or the language was found.