Skip to content

select

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / op / select

Function: select()

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

a

bytes

b

bytes

c

uint64

Returns

bytes

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

Parameters

a

uint64

b

uint64

c

uint64

Returns

uint64