UNPKG

@adyen/adyen-platform-experience-web

Version:

![Platform Experience header](https://github.com/Adyen/adyen-platform-experience-web/assets/7926613/18094965-9e01-450e-8dc9-ea84e6b22c2b)

18 lines (17 loc) 446 B
import { identity as r } from "../../../utils/common.js"; import { isString as c } from "../../../utils/value/is.js"; const s = (e) => (i, t, o) => { if (c(t)) { const n = +t; if (n >= 0 && n < i.length) return e(n); } return Reflect.get(i, t, o); }, d = function* (e = r, i) { for (let t = 0; t < this.length; t++) yield e.call(i, this[t], t, this); }; export { s as indexedProxyGetTrap, d as mapIteratorFactory };