Skip to main content
Module

x/deepmergets/src/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@v7.0.1/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.