Skip to main content
Module

x/collections/mod.ts>Vector#delete

Collection data structures that are not standard built-in objects in JavaScript. This includes a vector (double-ended queue), binary heap (priority queue), binary search tree, and a red black tree.
Very Popular
Latest
method Vector.prototype.delete
import { Vector } from "https://deno.land/x/collections@0.12.1/mod.ts";

Removes and returns the value at index from the vector. If the value is negative, it will be subtracted from the end. The values between the index and the end will be shifted to the left.

Parameters

index: number

Returns

T | undefined