# Function: fieldValue()

```ts
function fieldValue(record, path): unknown;
```

Defined in: [packages/core/src/query/filter.ts:86](https://github.com/leifriksheim/minca/blob/main/core/src/query/filter.ts#L86)

A field of a record: `@…` for the record itself, `link:<rel>` for where its
first link of that role points (missing when it has none), a dotted path
otherwise: into a computed field when the first part names one, else into
its body. A body can't stand in for a computed field by holding its name.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `record` | [`FilterSubject`](https://minca.dev/api/core/type-aliases/FilterSubject.md) |
| `path` | `string` |

## Returns

`unknown`
