Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deepmergets/dist/deno/utils.ts>getKeys

Deeply merge 2 or more objects respecting type information.
Go to Latest
function getKeys
import { getKeys } from "https://deno.land/x/deepmergets@v5.1.0/dist/deno/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.