Merge branch 'main' into hls

This commit is contained in:
Vanilagy
2026-04-24 20:56:59 +02:00
5 changed files with 85 additions and 11 deletions
+7
View File
@@ -1309,3 +1309,10 @@ export class ConcurrentRunner {
await Promise.all(this._queue);
}
}
export const isRecordStringString = (value: unknown): value is Record<string, string> => {
return value !== null
&& typeof value === 'object'
&& Object.getPrototypeOf(value) === Object.prototype
&& Object.values(value).every(x => typeof x === 'string');
};