Skip to main content

as_char

No overview available.

def as_char(
value: Union[int, str]
) - > string

Converts a numeric value or a single-character string into its corresponding Unicode character representation.

Parameters

NameTypeDescription
valueUnion[int, str]The numeric Unicode code point or a string to be converted into a character.

Returns

TypeDescription
stringA single-character string representing the Unicode character of the input value.