Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dtils/mod.ts>SafeUnknownArray#get

The best unofficial library of utilities for Deno applications
Go to Latest
method SafeUnknownArray.prototype.get
import { SafeUnknownArray } from "https://deno.land/x/dtils@2.4.0/mod.ts";

Gets the value of a single index in the array. If the index doesn't exist, a SafeUnknown with null will be returned

Parameters

index: number