# CellValue Type

> CellValue type alias in the browser TypeScript API: A cell value of type string, number, boolean or null, with its syntax and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > CellValue Type
- **256 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cellvalue/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cellvalue/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cellvalue/llms-full.txt

---

Public type for CellValue.

Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

Type-only declaration; it is not a JavaScript runtime constructor.

### Syntax

```typescript
type CellValue = string | number | boolean | null;
```

### Examples

Use this public value with the application package shown below. File and font inputs are application-owned resources, not automatically downloaded product data.

```typescript
import type { CellValue } from '@txtextcontrol/tx-sheet-control';

const value: CellValue = 120;
console.log(value);
```

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## Nearby

- **Previous:** [CellTypeRegistry.remove Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/celltyperegistry/remove-method/llms-full.txt)
- **Next:** [Chart Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/chart/llms-full.txt)
