Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deepmergets/src/utils.ts>getKeys

Deeply merge 2 or more objects respecting type information.
Latest
function getKeys
import { getKeys } from "https://deno.land/x/deepmergets@v7.1.3/src/utils.ts";

Get the keys of the given objects including symbol keys.

Note: Only keys to enumerable properties are returned.

Parameters

objects: ReadonlyArray<object>
  • An array of objects to get the keys of.

Returns

Set<PropertyKey>

A set containing all the keys of all the given objects.