API 参考

CellValueType

本 API 页面目前提供英文正文。代码签名与标识符不随界面语言变化。

How a cell value is interpreted. Set this in ICellData.t when an explicit type is needed; otherwise Univer infers the type from the value.

Import

TypeScript
import { CellValueType } from '@univerjs/core'

Definition

TypeScript
enum CellValueType {  STRING = 1,  NUMBER = 2,  BOOLEAN = 3,  FORCE_STRING = 4,}

Package: @univerjs/core · Type definitions

你觉得这篇文档如何?

© 2026 DreamNum Co., Ltd.