summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathMan05 <mathmanrm@gmail.com>2025-11-25 23:50:45 -0600
committerMathMan05 <mathmanrm@gmail.com>2025-11-25 23:50:45 -0600
commitbbd75f1e6c74341b0a5b0f43d7a948136b8438db (patch)
tree8be3b18945cd9952c652f1f0bf8b3dec31e66285
parentDelete Object.map (diff)
downloadserver-ts-bbd75f1e6c74341b0a5b0f43d7a948136b8438db.tar.xz
actually delete the functions
-rw-r--r--src/util/util/extensions/Array.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/util/util/extensions/Array.ts b/src/util/util/extensions/Array.ts

index f8ca3189..a5cda571 100644 --- a/src/util/util/extensions/Array.ts +++ b/src/util/util/extensions/Array.ts
@@ -51,14 +51,6 @@ export function arrayRemove<T>(this: T[], item: T): void { } } -export function arrayFirst<T>(this: T[]): T | undefined { - return this[0]; -} - -export function arrayLast<T>(this: T[]): T | undefined { - return this[this.length - 1]; -} - export function arrayDistinct<T>(this: T[]): T[] { return Array.from(new Set(this)); }