def METHOD_NAME(codepoint: str | None) -> str | None:
    """
    Returns the emoji corresponding to a given `codepoint`, or `None` if no emoji was found.
    The return value is an emoji character, such as "🍂". The `codepoint`
    argument can be of any format, since it will be trimmed automatically.
    """
    if code := Twemoji.trim_code(codepoint):
        return chr(int(code, 16))
    return None