import { objectEntries } from "https://dotland.deno.dev/x/scaffold@0.3.0/src/deps/npm.ts";
A strongly-typed version of Object.entries()
.
This is useful since Object.entries()
always returns an array of Array<[string, T]>
. This function returns a strongly-typed array of the entries of the given object.
Parameters
value: Type