select
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / op / select
Function: select()
Section titled “Function: select()”Call Signature
Section titled “Call Signature”select(
a,b,c):bytes
Defined in: packages/algo-ts/src/op.ts:4045
selects one of two values based on top-of-stack: B if C != 0, else A
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Call Signature
Section titled “Call Signature”select(
a,b,c):uint64
Defined in: packages/algo-ts/src/op.ts:4050
selects one of two values based on top-of-stack: B if C != 0, else A