Module

x/lodash_es/mod.ts>keysIn

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

Creates an array of the own and inherited enumerable property names of object.

Note: Non-object values are coerced to objects.

Examples

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

Foo.prototype.c = 3;

_.keysIn(new Foo); // => ['a', 'b', 'c'] (iteration order is not guaranteed)

Parameters

object

The object to query.