Skip to main content
Module

x/structurae/binary-heap.ts>BinaryHeap#parent

Data structures for high-performance JavaScript applications.
Latest
method BinaryHeap.prototype.parent
import { BinaryHeap } from "https://deno.land/x/structurae@4.0.1/binary-heap.ts";

Returns the parent of an element at a given index.

Parameters

index: number