@tempots/std

objectKeys() function

Returns an array of keys from the given object.

Signature:

objectKeys: extends object>(obj: T) => Array

Parameters

Parameter

Type

Description

obj

T

The object from which to extract keys.

Returns: Array

An array of keys from the object.