Some tweaks

This commit is contained in:
Gregory Schier
2023-11-19 18:13:32 -08:00
parent c4093e79cf
commit 5f810a1b4c
5 changed files with 188 additions and 205 deletions

View File

@@ -5,9 +5,13 @@ function u(r) {
} catch {
return;
}
if (t(e) && e.yaakSchema === 1) return { resources: e.resources };
if (t(e) && e.yaakSchema === 1)
return { resources: e.resources };
}
function t(r) {
return Object.prototype.toString.call(r) === '[object Object]';
return Object.prototype.toString.call(r) === "[object Object]";
}
export { t as isJSObject, u as pluginHookImport };
export {
t as isJSObject,
u as pluginHookImport
};