Fix for Vocodes v1 removal

Mistakenly deleted files with function still in use
This commit is contained in:
Brandon Thomas committed 2022-07-10 02:05:53 -04:00
1 parent c8f70910b6
commit b3f4477dd2
3 files changed
+19 -2

No files matched your search

@@ -0,0 +1,6 @@
import { GetRandomInt } from "./GetRandomInt";
export function GetRandomArrayValue<T>(array: Array<T>) : T {
let index = GetRandomInt(0, array.length);
return array[index];
}