aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/isAudio.ts
diff options
context:
space:
mode:
authorstonedDiscord <stonedDiscord@users.noreply.github.com>2024-11-20 13:31:50 +0000
committerGitHub Action <actions@github.com>2024-11-20 13:31:50 +0000
commit6684f3fce6e90fd0574d7bab63b629554ab03ef6 (patch)
treeb2a62247d17e23a77af57aea355ba621666817c2 /webAO/client/isAudio.ts
parent95a2d1361d84c61b454ebe506e6963b93f6d8dee (diff)
Prettified Code!
Diffstat (limited to 'webAO/client/isAudio.ts')
-rw-r--r--webAO/client/isAudio.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/webAO/client/isAudio.ts b/webAO/client/isAudio.ts
index 430f543..52e53a1 100644
--- a/webAO/client/isAudio.ts
+++ b/webAO/client/isAudio.ts
@@ -1,6 +1,6 @@
export const isAudio = (trackname: string) => {
- const audioEndings = [".wav", ".mp3", ".ogg", ".opus"];
- return (
- audioEndings.filter((ending) => trackname.endsWith(ending)).length === 1
- );
-} \ No newline at end of file
+ const audioEndings = [".wav", ".mp3", ".ogg", ".opus"];
+ return (
+ audioEndings.filter((ending) => trackname.endsWith(ending)).length === 1
+ );
+};