import { values } from "https://deno.land/x/rambda@9.4.1/mod.ts";
With correct input, this is nothing more than Object.values(Record<string, unknown>)
. If obj
is not an object, then it returns an empty array.
Type Parameters
K extends keyof T
Parameters
obj: T