Files
yaak-mountain-loop/src-tauri/plugins/importer-yaak/out/index.js
Gregory Schier af59695a55 Some tweaks
2023-11-19 18:13:32 -08:00

18 lines
298 B
JavaScript

function u(r) {
let e;
try {
e = JSON.parse(r);
} catch {
return;
}
if (t(e) && e.yaakSchema === 1)
return { resources: e.resources };
}
function t(r) {
return Object.prototype.toString.call(r) === "[object Object]";
}
export {
t as isJSObject,
u as pluginHookImport
};