decord/source/13031_GetOptionsObject.js

19 lines
467 B
JavaScript
Raw Normal View History

2026-07-22 07:54:56 +00:00
// Module ID: 13031
// Function ID: 99272
2026-07-20 16:05:17 +00:00
// Name: GetOptionsObject
// Dependencies: []
2026-07-22 07:54:56 +00:00
// Module 13031 (GetOptionsObject)
2026-07-20 16:05:17 +00:00
arg5.GetOptionsObject = function GetOptionsObject(arg0) {
if (undefined === arg0) {
const _Object = Object;
return Object.create(null);
} else if ("object" === typeof arg0) {
return arg0;
} else {
const _TypeError = TypeError;
const typeError = new TypeError("Options must be an object");
throw typeError;
}
};