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.