@lucid-softworks/array-remove-at
v0.1.0
Published
Remove an array value by index without mutation.
Maintainers
Readme
@lucid-softworks/array-remove-at
Remove one value by index without mutating the input. Negative indexes are relative to the end.
import { removeAt } from "@lucid-softworks/array-remove-at";
removeAt(["a", "b", "c"], -1); // ["a", "b"]