Skip to content

BigInt.Subtract

Name - Description Default Type
<input> Any valid big integer(s) represented as bytes supported by this operation. Bytes[Bytes]
<output> The result of the operation, usually in the same type as the input value. Bytes[Bytes]
Operand The bytes variable representing the operand 0 &Bytes&[Bytes]

Applies the binary operation on the input value and the operand and returns the result (or a sequence of results if the input and the operand are sequences).

Examples

1
2
3
4
5
6
7
8
5 (BigInt) = .expected
2 (BigInt) = .operand

7 (BigInt)
(BigInt.Subtract
 ;:Operand
 .operand)
(BigInt.Is .expected) (Assert.Is true true)