# Interface: DynExpr

Defined in: [packages/core/src/records/contract-builder.ts:197](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L197)

A value whose type no schema says: a cited version's body, until `.of()`
types it. Its methods are typed; any other name reads a field as `any`,
since nothing says what it holds. `.get(name)` reads one typed as this.

## Extends

- [`CelExpr`](https://minca.dev/api/core/interfaces/CelExpr.md)\<`unknown`\>

## Indexable

```ts
[field: string]: any
```

## Properties

| Property | Modifier | Type | Inherited from | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-cel"></a> `~cel` | `readonly` | `Built` | [`CelExpr`](https://minca.dev/api/core/interfaces/CelExpr.md).[`~cel`](https://minca.dev/api/core/interfaces/CelExpr.md#property-cel) | [packages/core/src/records/contract-builder.ts:41](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L41) |
| <a id="property-t"></a> `~t?` | `readonly` | `unknown` | [`CelExpr`](https://minca.dev/api/core/interfaces/CelExpr.md).[`~t`](https://minca.dev/api/core/interfaces/CelExpr.md#property-t) | [packages/core/src/records/contract-builder.ts:42](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L42) |

## Methods

### add()

```ts
add(other): DynExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:208](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L208)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `Operand` |

#### Returns

`DynExpr`

***

### all()

```ts
all(test): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:222](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L222)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `test` | (`item`) => [`BoolLike`](https://minca.dev/api/core/type-aliases/BoolLike.md) |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### and()

```ts
and(...others): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:205](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L205)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| ...`others` | [`BoolLike`](https://minca.dev/api/core/type-aliases/BoolLike.md)[] |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### at()

```ts
at(index): DynExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:228](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L228)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `index` | `Operand` |

#### Returns

`DynExpr`

***

### contains()

```ts
contains(part): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:216](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L216)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `part` | `StringLike` |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### count()

```ts
count(): IntExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:215](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L215)

#### Returns

[`IntExpr`](https://minca.dev/api/core/interfaces/IntExpr.md)

***

### distinct()

```ts
distinct(): DynExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:225](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L225)

#### Returns

`DynExpr`

***

### div()

```ts
div(other): DynExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:211](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L211)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `Operand` |

#### Returns

`DynExpr`

***

### endsWith()

```ts
endsWith(part): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:218](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L218)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `part` | `StringLike` |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### eq()

```ts
eq(other): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:198](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L198)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `Operand` |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### exists()

```ts
exists(test): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:223](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L223)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `test` | (`item`) => [`BoolLike`](https://minca.dev/api/core/type-aliases/BoolLike.md) |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### existsOne()

```ts
existsOne(test): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:224](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L224)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `test` | (`item`) => [`BoolLike`](https://minca.dev/api/core/type-aliases/BoolLike.md) |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### filter()

```ts
filter(keep): DynExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:220](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L220)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `keep` | (`item`) => [`BoolLike`](https://minca.dev/api/core/type-aliases/BoolLike.md) |

#### Returns

`DynExpr`

***

### get()

```ts
get(field): DynExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:230](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L230)

A field, typed as a value of no known type: also one named like a method

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `field` | `string` |

#### Returns

`DynExpr`

***

### gt()

```ts
gt(other): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:202](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L202)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `Operand` |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### gte()

```ts
gte(other): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:203](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L203)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `Operand` |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### in()

```ts
in(list): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:204](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L204)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `list` | `Operand` |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### includes()

```ts
includes(item): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:227](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L227)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `item` | `Literal` \| [`CelExpr`](https://minca.dev/api/core/interfaces/CelExpr.md)\<`unknown`\> |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### link()

```ts
link(rel): StrExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:231](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L231)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `rel` | `string` |

#### Returns

[`StrExpr`](https://minca.dev/api/core/interfaces/StrExpr.md)

***

### lt()

```ts
lt(other): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:200](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L200)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `Operand` |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### lte()

```ts
lte(other): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:201](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L201)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `Operand` |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### map()

```ts
map<R>(to): ListExpr<TypeOf<R>>;
```

Defined in: [packages/core/src/records/contract-builder.ts:221](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L221)

#### Type Parameters

| Type Parameter |
| ------ |
| <a id="type-parameter-r"></a> `R` *extends* [`CelExpr`](https://minca.dev/api/core/interfaces/CelExpr.md)\<`unknown`\> |

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `to` | (`item`) => `R` |

#### Returns

[`ListExpr`](https://minca.dev/api/core/interfaces/ListExpr.md)\<`TypeOf`\<`R`\>\>

***

### mod()

```ts
mod(other): DynExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:212](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L212)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `Operand` |

#### Returns

`DynExpr`

***

### mul()

```ts
mul(other): DynExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:210](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L210)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `Operand` |

#### Returns

`DynExpr`

***

### ne()

```ts
ne(other): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:199](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L199)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `Operand` |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### neg()

```ts
neg(): DynExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:213](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L213)

#### Returns

`DynExpr`

***

### not()

```ts
not(): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:207](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L207)

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### or()

```ts
or(...others): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:206](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L206)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| ...`others` | [`BoolLike`](https://minca.dev/api/core/type-aliases/BoolLike.md)[] |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### size()

```ts
size(): IntExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:214](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L214)

#### Returns

[`IntExpr`](https://minca.dev/api/core/interfaces/IntExpr.md)

***

### startsWith()

```ts
startsWith(part): BoolExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:217](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L217)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `part` | `StringLike` |

#### Returns

[`BoolExpr`](https://minca.dev/api/core/interfaces/BoolExpr.md)

***

### sub()

```ts
sub(other): DynExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:209](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L209)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `Operand` |

#### Returns

`DynExpr`

***

### sum()

```ts
sum(): DynExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:226](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L226)

#### Returns

`DynExpr`

***

### toDouble()

```ts
toDouble(): NumExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:233](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L233)

#### Returns

[`NumExpr`](https://minca.dev/api/core/interfaces/NumExpr.md)

***

### toInt()

```ts
toInt(): IntExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:232](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L232)

#### Returns

[`IntExpr`](https://minca.dev/api/core/interfaces/IntExpr.md)

***

### where()

```ts
where(keep): DynExpr;
```

Defined in: [packages/core/src/records/contract-builder.ts:219](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L219)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `keep` | (`item`) => [`BoolLike`](https://minca.dev/api/core/type-aliases/BoolLike.md) |

#### Returns

`DynExpr`
