Skip to main content
Module

x/ssds/mod.ts>LinkedListDeque#_isValidIndex

Some Specialized Data Structures for Deno.
Latest
method LinkedListDeque.prototype._isValidIndex
import { LinkedListDeque } from "https://deno.land/x/ssds@0.2.0/mod.ts";

Determines if an index is valid or not.

Parameters

index: number

Returns

boolean

'true' if the index is non-negative and less than this.length.