UNPKG

@wolf-scope/wolf-ui

Version:

UI library for web applications using Lit

20 lines (19 loc) 373 B
const i = "e41fe8de-7209-4973-af13-e41a0bd81c6f"; function c(e) { return e; } function h(e) { return e.length === 0 ? c : e.length === 1 ? e[0] : function(t) { let r = t; for (const a of e) if (r = a(r), r === i) break; return r; }; } class o { chainOperators(...n) { return n.length ? h(n)(this) : this; } } new o().chainOperators;