Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TernaryExpr

An expression with three arguments.

Hierarchy

Index

Constructors

constructor

Properties

firstArg

firstArg: Expr

op

op: Op

outputType

outputType: TealType

secondArg

secondArg: Expr

thirdArg

thirdArg: Expr

Methods

And

  • Take the logical And of this expression and another one.

    This expression must evaluate to uint64.

    This is the same as using And() with two arguments.

    Parameters

    Returns Expr

Or

  • Take the logical Or of this expression and another one.

    This expression must evaluate to uint64.

    This is the same as using Or() with two arguments.

    Parameters

    Returns Expr

add

and

eq

ge

gt

invert

le

lt

mod

mul

ne

or

sub

teal

toString

  • toString(): string

truediv

typeOf

xor

Generated using TypeDoc