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

x/deepmergets/dist/node/index.d.cts>getKeys

Deeply merge 2 or more objects respecting type information.
Go to Latest
function getKeys
import { getKeys } from "https://deno.land/x/deepmergets@v7.0.1/dist/node/index.d.cts";

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.