UNPKG

laif-ds

Version:

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

14 lines (13 loc) 264 B
"use client"; function r(o, e) { const t = String(o); if (typeof e != "string") throw new TypeError("Expected character"); let i = 0, n = t.indexOf(e); for (; n !== -1; ) i++, n = t.indexOf(e, n + e.length); return i; } export { r as ccount };