• Converts a BigNumberish type to a bigint. If the input is already a bigint, the return value will be the bigint itself, otherwise it will be converted to a bigint using big-endian byte order.

    Parameters

    Returns bigint

    The bigint representation of the BigNumberish value.