UNPKG

laif-ds

Version:

Design System di Laif con componenti React basati su principi di Atomic Design

16 lines (15 loc) 387 B
"use client"; import { constructFrom as l } from "./constructFrom.js"; import { toDate as u } from "./toDate.js"; function o(n, r) { let t, e = r == null ? void 0 : r.in; return n.forEach((c) => { !e && typeof c == "object" && (e = l.bind(null, c)); const f = u(c, e); (!t || t > f || isNaN(+f)) && (t = f); }), l(e, t || NaN); } export { o as default, o as min };