decord/source/13022_GetOptionsObject.js

19 lines
467 B
JavaScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 13022
// Function ID: 99217
2026-07-20 16:05:17 +00:00
// Name: GetOptionsObject
// Dependencies: []
2026-07-21 06:55:02 +00:00
// Module 13022 (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;
}
};