Skip to content

Commit be7c474

Browse files
fix: src/base/index.ts add nonEmpty
1 parent 995d7ab commit be7c474

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Functions specifically designed for Google Apps Script environments, including u
4646
<details open><summary>Functions</summary>
4747

4848
| Function | Description |
49-
|:-----------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------|
49+
| :--------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------- |
5050
| [`checkMultipleAccount`](src/appsscript/checkMultipleAccount.ts) | Checks if multiple Google accounts are in use. |
5151
| [`getByteSize`](src/appsscript/getByteSize.ts) | Returns the size of a string in bytes. |
5252
| [`isHtmlOutput`](src/appsscript/isHtmlOutput.ts) | Checks if an object is an [`HtmlOutput`](https://developers.google.com/apps-script/reference/html/html-output). |
@@ -62,7 +62,7 @@ A collection of functions to simplify working with Google Sheets.
6262
<details open><summary>Functions</summary>
6363

6464
| Function | Description |
65-
|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------|
65+
| :-------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------- |
6666
| [`appendColumn`](src/appsscript/sheets/appendColumn.ts) | Appends a single column of data to the sheet. |
6767
| [`appendColumns`](src/appsscript/sheets/appendColumns.ts) | Appends multiple columns of data to the sheet. |
6868
| [`appendRow`](src/appsscript/sheets/appendRow.ts) | Appends a single row of data to the sheet. |
@@ -101,7 +101,7 @@ General utility functions that can be useful in any JavaScript/TypeScript projec
101101
<details open><summary>Functions</summary>
102102

103103
| Function | Description |
104-
|:-------------------------------------------------------------|:--------------------------------------------------------------------------|
104+
| :----------------------------------------------------------- | :------------------------------------------------------------------------ |
105105
| [`chunk`](src/base/chunk.ts) | Splits an array into chunks of a specified size. |
106106
| [`decodeHtml`](src/base/decodeHtml.ts) | Decodes HTML entities. |
107107
| [`encodeHtml`](src/base/encodeHtml.ts) | Encodes a string for safe use in HTML. |
@@ -166,7 +166,7 @@ A set of custom exception classes for more specific error handling.
166166
<details open><summary>Functions</summary>
167167

168168
| Exception | Description |
169-
|:-------------------------------------------------------------------------------|:------------------------------------|
169+
| :----------------------------------------------------------------------------- | :---------------------------------- |
170170
| [`Exception`](src/exceptions/Exception.ts) | Base exception class. |
171171
| [`RuntimeException`](src/exceptions/RuntimeException.ts) | Exception for runtime errors. |
172172
| [`EmptyStringException`](src/exceptions/EmptyStringException.ts) | Exception for empty strings. |
@@ -183,7 +183,7 @@ Functions for working with file paths and URLs.
183183
<details open><summary>Functions</summary>
184184

185185
| Function | Description |
186-
|:---------------------------------------------|:----------------------------------------------------------------|
186+
| :------------------------------------------- | :-------------------------------------------------------------- |
187187
| [`isAbsolute`](src/path/isAbsolute.ts) | Checks if a path is absolute. |
188188
| [`isRelative`](src/path/isRelative.ts) | Checks if a path is relative. |
189189
| [`isValidDomain`](src/path/isValidDomain.ts) | Checks if a string is a valid domain name. |
@@ -198,15 +198,15 @@ Functions for working with file paths and URLs.
198198
<details open><summary>Functions</summary>
199199

200200
| Abstract | Description |
201-
|:---------------------------------|:------------|
201+
| :------------------------------- | :---------- |
202202
| [`Class`](src/abstract/Class.ts) | |
203203

204204
</details>
205205

206206
<details open><summary>Functions</summary>
207207

208208
| Interface | Description |
209-
|:-----------------------------------------|:-------------------------|
209+
| :--------------------------------------- | :----------------------- |
210210
| [`Iterator`](src/interfaces/Iterator.ts) | Interface for iterators. |
211211

212212
</details>

src/base/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export { isValidVersion } from "./isValidVersion";
3535
export { isVersionCompatible } from "./isVersionCompatible";
3636

3737
export { nonBoolean } from "./nonBoolean";
38+
export { nonEmpty } from "./nonEmpty";
3839
export { nonNil } from "./nonNil";
3940
export { nonNull } from "./nonNull";
4041
export { nonNumber } from "./nonNumber";

0 commit comments

Comments
 (0)