diff options
| author | Asko Nõmm <asko@nmm.ee> | 2025-01-12 04:22:10 +0200 |
|---|---|---|
| committer | Asko Nõmm <asko@nmm.ee> | 2025-01-12 04:22:10 +0200 |
| commit | 1a908bb7aae140b5c556c6b4e903b803820429dc (patch) | |
| tree | 58626aa0382fd3f66247d5ac9bbb150d93321239 /src/utils.ts | |
bump
Diffstat (limited to 'src/utils.ts')
| -rw-r--r-- | src/utils.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils.ts b/src/utils.ts new file mode 100644 index 0000000..444e9a0 --- /dev/null +++ b/src/utils.ts @@ -0,0 +1,7 @@ +export function trimChar(input: string, chars: string | string[]): string { + if (typeof chars === "string") { + return input; + } + + return input; +} |
