laif-ds
Version:
Design System di Laif con componenti React basati su principi di Atomic Design
16 lines (15 loc) • 387 B
JavaScript
"use client";
import { constructFrom as l } from "./constructFrom.js";
import { toDate as a } from "./toDate.js";
function o(u, r) {
let t, e = r == null ? void 0 : r.in;
return u.forEach((c) => {
!e && typeof c == "object" && (e = l.bind(null, c));
const f = a(c, e);
(!t || t < f || isNaN(+f)) && (t = f);
}), l(e, t || NaN);
}
export {
o as default,
o as max
};