mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 02:43:48 +02:00
Merge branch 'main' into hls
This commit is contained in:
@@ -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');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user