Enum ValueType
ValueType
An enumeration of value types returned by Range.getValue()
and Range.getValues()
from the Range class of the Spreadsheet service. The enumeration values
listed below are in addition to Number
, Boolean
, Date
, or String
.
To call an enum, you call its parent class, name, and property. For example,
SpreadsheetApp.ValueType.IMAGE
.
Properties
Property | Type | Description |
IMAGE | Enum | The value type when the cell contains an image. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["`ValueType` is an enumeration used to identify the type of data returned by `getValue()` and `getValues()` methods of the `Range` class in Google Apps Script."],["Besides common types like `Number`, `Boolean`, `Date`, or `String`, it includes specific types like `IMAGE` to indicate an image in a cell."],["To refer to a specific value type, use the syntax: `SpreadsheetApp.ValueType.PROPERTY`, for example, `SpreadsheetApp.ValueType.IMAGE`."]]],[]]