This commit is contained in:
33333-33333 2026-07-16 22:12:03 +09:00
commit 2cc2f003df
71 changed files with 3359 additions and 1027 deletions

View file

@ -2,15 +2,11 @@
(function (global) {
const registry = new Map();
function isObject(value) {
return Boolean(value && typeof value === "object");
}
function finiteOr(value, fallback) {
const isObject = global.TarinaiCoreHelpers?.isPlainObject || (value => Boolean(value && typeof value === "object"));
const finiteOr = global.TarinaiCoreHelpers?.finiteOr || ((value, fallback) => {
const n = Number(value);
return Number.isFinite(n) ? n : fallback;
}
});
function hasOwnFn(obj, key) {