# Interface: StrExpr\<S\>

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

Anything the builder makes. `T` is what it gives, for types only

## Extends

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

## Type Parameters

| Type Parameter | Default type |
| ------ | ------ |
| <a id="type-parameter-s"></a> `S` *extends* `string` | `string` |

## 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` | `S` | [`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): StrExpr;
```

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `StringLike` |

#### Returns

`StrExpr`

***

### contains()

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

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

#### Parameters

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

#### Returns

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

***

### endsWith()

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

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

#### 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:96](https://github.com/leifriksheim/minca/blob/main/core/src/records/contract-builder.ts#L96)

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `StringLike`\<`S`\> \| `null` |

#### Returns

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

#### Inherited from

`Ordered.eq`

***

### gt()

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

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `StringLike` |

#### Returns

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

#### Inherited from

`Ordered.gt`

***

### gte()

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

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `StringLike` |

#### Returns

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

#### Inherited from

`Ordered.gte`

***

### in()

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

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `list` | \| [`DynExpr`](https://minca.dev/api/core/interfaces/DynExpr.md) \| [`ListExpr`](https://minca.dev/api/core/interfaces/ListExpr.md)\<`string`\> \| readonly `StringLike`\<`string`\>[] |

#### Returns

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

***

### lt()

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

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `StringLike` |

#### Returns

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

#### Inherited from

`Ordered.lt`

***

### lte()

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

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `StringLike` |

#### Returns

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

#### Inherited from

`Ordered.lte`

***

### ne()

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

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

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `other` | `StringLike`\<`S`\> \| `null` |

#### Returns

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

#### Inherited from

`Ordered.ne`

***

### size()

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

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

In code points

#### Returns

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

***

### startsWith()

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

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

#### Parameters

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

#### Returns

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