def sign(integer: int, /) -> int:
    """
    Get the sign of `integer`

    E.g:
        >>> sign(1234)
        1
        >>> sign(-1234)
        -1
        >>> sign(0)
        0
    """

    if integer == 0:
        return integer

    return integer // abs(integer)