laif-ds
Version:
Design System di Laif con componenti React basati su principi di Atomic Design
17 lines (16 loc) • 332 B
JavaScript
"use client";
function o(e, n) {
return t(e, n.inConstruct, !0) && !t(e, n.notInConstruct, !1);
}
function t(e, n, u) {
if (typeof n == "string" && (n = [n]), !n || n.length === 0)
return u;
let r = -1;
for (; ++r < n.length; )
if (e.includes(n[r]))
return !0;
return !1;
}
export {
o as patternInScope
};