Proves that this Bool
is false
.
Proves that this Bool
is true
.
This converts the Bool
to a javascript [[boolean]].
This can only be called on non-witness values.
Serialize the Bool
to a JSON string.
This operation does NOT affect the circuit and can't be used to prove anything about the string representation of the Field.
Serialize the Bool
to a string, e.g. for printing.
This operation does NOT affect the circuit and can't be used to prove anything about the string representation of the Field.
Generated using TypeDoc
Converts a
Field
into aBool
. This is a dangerous operation as it assumes that the field element is either 1 or 0 (which might not be true).