Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/froebel/atWrap.ts>default

A strictly typed utility library.
Go to Latest
variable default
import { default } from "https://deno.land/x/froebel@v0.18.0/atWrap.ts";

Access list at i % length. Negative indexes start indexing the last element as [-1] and wrap around to the back.

type

<T>(arr: T[], i: number) => T