removeSchema
The stored description goes; the data and the header row stay exactly as they are. A sheet with no schema stored is left alone and the call reports false.
validation: true also clears the data validation on the columns the schema described. It is off by default on purpose: Apps Script offers no way to tell a rule the schema created from one a person added by hand, so clearing takes both.
Parameters
Parameter | Type | Description |
|---|---|---|
|
| The sheet to work on. |
|
|
|
Returns
boolean — true when a schema was removed.
Throws
Exception | Condition |
|---|---|
| the first argument is not a sheet. |
Examples
Removing a schema
See also
Source
This documentation was generated with AI (Claude) from the library's source code.