---
title: "CosValue"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/type-aliases/cosvalue/"
---

# CosValue

```ts
type CosValue = CosValueJs;
```

Defined in: [packages/sdk/src/types.ts:1951](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L1951)

A PDF value by its `type`: `null`, `boolean`, `integer`, `real`, `string` (its `text`, and
whether the file wrote it in hexadecimal), `name`, `array` (`items`), `dictionary` (`entries`,
keys without their `/`) or `reference` (`num` and `generation`).

## Since

0.6.0
