decord/source/modules/go_live/utils/windowSourceMatches.tsx

21 lines
538 B
TypeScript
Raw Normal View History

// Module ID: 13935
// Function ID: 13936
2026-07-20 16:05:17 +00:00
// Name: windowSourceMatches
2026-07-29 08:29:29 +00:00
// Dependencies: [32, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 13935 (windowSourceMatches)
import _slicedToArray from "module_32" /* 32 */;
2026-07-23 10:11:24 +00:00
const size = fn(2);
const result = size.fileFinishedImporting("modules/go_live/utils/windowSourceMatches.tsx");
2026-07-20 16:05:17 +00:00
export default function windowSourceMatches(str, arg1) {
2026-07-20 16:05:17 +00:00
if (null == arg1) {
return false;
} else {
const tmp3 = _slicedToArray(str.split(":"), 2);
2026-07-29 08:29:29 +00:00
return "window" === tmp3[0] && tmp3[1] === arg1;
2026-07-20 16:05:17 +00:00
}
};