1919[ ![ GitHub Sponsors] ( https://img.shields.io/github/sponsors/MaksymStoianov?style=social&logo=github )] ( https://github.com/sponsors/MaksymStoianov )
2020
2121<!-- TOC -->
22- * [ Utilities for Google Apps Script™ projects] ( #utilities-for-google-apps-script-projects )
23- * [ Introduction] ( #introduction )
24- * [ How to Install] ( #how-to-install )
25- * [ Functions by Category] ( #functions-by-category )
26- * [ 1. Google Apps Script Module] ( #1-google-apps-script-module )
27- * [ 1.1. Google Base Methods] ( #11-google-base-methods )
28- * [ 1.2. Google Admin SDK Directory Methods] ( #12-google-admin-sdk-directory-methods )
29- * [ 1.3. Google Drive Methods] ( #13-google-drive-methods )
30- * [ 1.4. Google Docs Methods] ( #14-google-docs-methods )
31- * [ 1.5. Google Forms Methods] ( #15-google-forms-methods )
32- * [ 1.6. Google Sheets Methods] ( #16-google-sheets-methods )
33- * [ 1.7. Google Slides Methods] ( #17-google-slides-methods )
34- * [ 1.8. Google UI Methods] ( #18-google-ui-methods )
35- * [ 2. ` Base ` Utilities] ( #2-base-utilities )
36- * [ 3. Exceptions Module] ( #3-exceptions-module )
37- * [ 4. ` path ` Module] ( #4-path-module )
38- * [ 5. ` abstracts ` and ` interfaces ` ] ( #5-abstracts-and-interfaces )
39- * [ Tasks] ( #tasks )
40- * [ Changelog] ( #changelog )
41- * [ License] ( #license )
42- <!-- TOC -->
22+
23+ - [ Utilities for Google Apps Script™ projects] ( #utilities-for-google-apps-script-projects )
24+ - [ Introduction] ( #introduction )
25+ - [ How to Install] ( #how-to-install )
26+ - [ Functions by Category] ( #functions-by-category )
27+ - [ 1. Google Apps Script Module] ( #1-google-apps-script-module )
28+ - [ 1.1. Google Base Methods] ( #11-google-base-methods )
29+ - [ 1.2. Google Admin SDK Directory Methods] ( #12-google-admin-sdk-directory-methods )
30+ - [ 1.3. Google Drive Methods] ( #13-google-drive-methods )
31+ - [ 1.4. Google Docs Methods] ( #14-google-docs-methods )
32+ - [ 1.5. Google Forms Methods] ( #15-google-forms-methods )
33+ - [ 1.6. Google Sheets Methods] ( #16-google-sheets-methods )
34+ - [ 1.7. Google Slides Methods] ( #17-google-slides-methods )
35+ - [ 1.8. Google UI Methods] ( #18-google-ui-methods )
36+ - [ 2. ` Base ` Utilities] ( #2-base-utilities )
37+ - [ 3. Exceptions Module] ( #3-exceptions-module )
38+ - [ 4. ` path ` Module] ( #4-path-module )
39+ - [ 5. ` abstracts ` and ` interfaces ` ] ( #5-abstracts-and-interfaces )
40+ - [ Tasks] ( #tasks )
41+ - [ Changelog] ( #changelog )
42+ - [ License] ( #license )
43+ <!-- TOC -->
4344
4445## Introduction
4546
@@ -257,6 +258,11 @@ Functions that enable various operations on Google Sheets.
257258 <td></td>
258259 <td>Gets a sheet by its ID.</td>
259260 </tr>
261+ <tr>
262+ <td><a href="src/appsscript/sheet/getSheetByIndex.ts"><code>getSheetByIndex</code></a></td>
263+ <td></td>
264+ <td>Gets a sheet by its index.</td>
265+ </tr>
260266 <tr>
261267 <td><a href="src/appsscript/sheet/highlightHtml.ts"><code>highlightHtml</code></a></td>
262268 <td></td>
@@ -451,7 +457,7 @@ This package contains core utility functions that are not tied to a specific App
451457<details open ><summary >Functions</summary >
452458
453459| Function | Description |
454- | :------------------------------------------------------------------ | :--------------------------------------------------------------------------------------------- |
460+ | :-------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------- |
455461| [ ` chunk ` ] ( src/lang/array/chunk.ts ) | Splits an array into chunks of a specified size. |
456462| [ ` decodeHtml ` ] ( src/html/decodeHtml.ts ) | Decodes HTML entities. |
457463| [ ` encodeHtml ` ] ( src/html/encodeHtml.ts ) | Encodes a string for safe use in HTML. |
@@ -471,7 +477,10 @@ This package contains core utility functions that are not tied to a specific App
471477| [ ` isLength ` ] ( src/lang/base/isLength.ts ) | Checks if a value is "length-like" (arrays, strings, etc.). |
472478| [ ` isNil ` ] ( src/lang/base/isNil.ts ) | Checks if a value is ` null ` or ` undefined ` . |
473479| [ ` isNull ` ] ( src/lang/base/isNull.ts ) | Checks if a value is ` null ` . |
474- | [ ` isNumber ` ] ( src/lang/base/isNumber.ts ) | Checks if a variable is a number. |
480+ | [ ` toInteger ` ] ( src/lang/number/toInteger.ts ) | Converts a value to an integer. |
481+ | [ ` isInteger ` ] ( src/lang/number/isInteger.ts ) | |
482+ | [ ` isCountable) ` ] ( src/lang/number/isCountable.ts ) | |
483+ | [ ` nonNegative ` ] ( src/lang/number/nonNegative.ts ) | |
475484| [ ` isNumberLike ` ] ( src/lang/base/isNumberLike.ts ) | Checks if a value can be converted to a number. |
476485| [ ` isObject ` ] ( src/lang/base/isObject.ts ) | Checks if a variable is an object (but not ` null ` or an array). |
477486| [ ` isObjectLike ` ] ( src/lang/base/isObjectLike.ts ) | Checks if a variable is object-like (objects, arrays, functions). |
@@ -522,14 +531,14 @@ This package is for all exception classes.
522531<details open ><summary >Functions</summary >
523532
524533| Exception | Description |
525- | :----------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------ |
534+ | :------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------- |
526535| [ ` AdminDirectoryException ` ] ( src/exception/appsscript/admin/AdminDirectoryException.ts ) | Represents an exception thrown when the Admin SDK Directory Service is not available or enabled. |
527- | [ ` InvalidGridRangeException ` ] ( src/exception/appsscript/sheet/InvalidGridRangeException.ts ) | Represents an exception thrown when an invalid <a href =" src/appsscript/sheet/types/GridRange.ts " ><code >GridRange</code ></a > object is provided. |
536+ | [ ` InvalidGridRangeException ` ] ( src/exception/appsscript/sheet/InvalidGridRangeException.ts ) | Represents an exception thrown when an invalid <a href =" src/appsscript/sheet/types/GridRange.ts " ><code >GridRange</code ></a > object is provided. |
528537| [ ` InvalidRangeException ` ] ( src/exception/appsscript/sheet/InvalidRangeException.ts ) | Represents an exception thrown when an invalid [ range] ( https://developers.google.com/apps-script/reference/spreadsheet/sheet ) object is provided. |
529538| [ ` InvalidSheetException ` ] ( src/exception/appsscript/sheet/InvalidSheetException.ts ) | Represents an exception thrown when an invalid [ sheet] ( https://developers.google.com/apps-script/reference/spreadsheet/sheet ) object is provided. |
530539
531540| Exception | Description |
532- | :---------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------- |
541+ | :------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------ |
533542| [ ` Exception ` ] ( src/exception/Exception.ts ) | Base exception class. |
534543| [ ` RuntimeException ` ] ( src/exception/RuntimeException.ts ) | Exception for runtime errors. |
535544| [ ` EmptyStringException ` ] ( src/exception/EmptyStringException.ts ) | Exception for empty strings. |
0 commit comments