setBit
Algorand TypeScript / op / setBit
Call Signature
Section titled “Call Signature”setBit(
target,n,c):bytes
Defined in: op.ts:4120
Set the nth bit of target to the value of c (1 or 0)
Parameters
Section titled “Parameters”target
Section titled “target”Returns
Section titled “Returns”Call Signature
Section titled “Call Signature”setBit(
target,n,c):uint64
Defined in: op.ts:4125
Set the nth bit of target to the value of c (1 or 0)