Module

x/lodash_es/mod.ts>values

lodash for deno use
Latest
function values
import { values } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/mod.ts";

Creates an array of the own enumerable string keyed property values of object.

Note: Non-object values are coerced to objects.

Examples

function Foo() { this.a = 1; this.b = 2; }

Foo.prototype.c = 3;

_.values(new Foo); // => [1, 2] (iteration order is not guaranteed)

_.values('hi'); // => ['h', 'i']

Parameters

object

The object to query.