Interface: NumExpr
Defined in: packages/core/src/records/contract-builder.ts:105
A double: every number read from a body
Extends
CelExpr<number>Ordered<NumberLike>
Properties
| Property | Modifier | Type | Inherited from | Defined in |
|---|---|---|---|---|
~cel | readonly | Built | CelExpr.~cel | packages/core/src/records/contract-builder.ts:41 |
~t? | readonly | number | CelExpr.~t | packages/core/src/records/contract-builder.ts:42 |
Methods
add()
add(other): NumExpr;Defined in: packages/core/src/records/contract-builder.ts:107
Parameters
| Parameter | Type |
|---|---|
other | number | DynExpr | NumExpr |
Returns
NumExpr
div()
div(other): NumExpr;Defined in: packages/core/src/records/contract-builder.ts:110
Parameters
| Parameter | Type |
|---|---|
other | number | DynExpr | NumExpr |
Returns
NumExpr
eq()
eq(other): BoolExpr;Defined in: packages/core/src/records/contract-builder.ts:96
Parameters
| Parameter | Type |
|---|---|
other | NumberLike | null |
Returns
Inherited from
Ordered.eq
gt()
gt(other): BoolExpr;Defined in: packages/core/src/records/contract-builder.ts:100
Parameters
| Parameter | Type |
|---|---|
other | NumberLike |
Returns
Inherited from
Ordered.gt
gte()
gte(other): BoolExpr;Defined in: packages/core/src/records/contract-builder.ts:101
Parameters
| Parameter | Type |
|---|---|
other | NumberLike |
Returns
Inherited from
Ordered.gte
in()
in(list): BoolExpr;Defined in: packages/core/src/records/contract-builder.ts:106
Parameters
Returns
lt()
lt(other): BoolExpr;Defined in: packages/core/src/records/contract-builder.ts:98
Parameters
| Parameter | Type |
|---|---|
other | NumberLike |
Returns
Inherited from
Ordered.lt
lte()
lte(other): BoolExpr;Defined in: packages/core/src/records/contract-builder.ts:99
Parameters
| Parameter | Type |
|---|---|
other | NumberLike |
Returns
Inherited from
Ordered.lte
mul()
mul(other): NumExpr;Defined in: packages/core/src/records/contract-builder.ts:109
Parameters
| Parameter | Type |
|---|---|
other | number | DynExpr | NumExpr |
Returns
NumExpr
ne()
ne(other): BoolExpr;Defined in: packages/core/src/records/contract-builder.ts:97
Parameters
| Parameter | Type |
|---|---|
other | NumberLike | null |
Returns
Inherited from
Ordered.ne
neg()
neg(): NumExpr;Defined in: packages/core/src/records/contract-builder.ts:111
Returns
NumExpr
sub()
sub(other): NumExpr;Defined in: packages/core/src/records/contract-builder.ts:108
Parameters
| Parameter | Type |
|---|---|
other | number | DynExpr | NumExpr |
Returns
NumExpr
toInt()
toInt(): IntExpr;Defined in: packages/core/src/records/contract-builder.ts:113
int(x), toward zero