UNPKG

froebel

Version:
5 lines (4 loc) 203 B
/** Access list at `i % length`. Negative indexes start indexing the last * element as `[-1]` and wrap around to the back. */ declare const atWrap: <T>(arr: T[], i: number) => T; export default atWrap;