Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dtils/mod.ts>SafeUnknownObject#sureGetSingle

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

Gets the value of a single key in the object. If the key doesn't exist, an error is thrown

Parameters

key: string