Skip to main content
Module

x/structurae/index.ts>BinaryHeap#isHeap

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

Checks whether the array is a valid binary heap.

Returns

boolean