UNPKG

@naverpay/hidash

Version:

improved lodash

12 lines (11 loc) 251 B
import { toNumber as n } from "./toNumber.mjs"; function u(t, e, ...o) { if (typeof t != "function") throw new TypeError("Expected a function"); const r = setTimeout(() => t(...o), e); return n(r); } export { u as default, u as delay };