Skip to main content
Module

x/rambda/immutable.d.ts>values

Faster and smaller alternative to Ramda
Latest
function values
import { values } from "https://deno.land/x/rambda@v9.2.0/immutable.d.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

T extends object
K extends keyof T

Returns

readonly T[K][]