Skip to content

objectKeys

function objectKeys<T>(obj): KeyOf<T>;

Get the keys of an object.

T

T

The object

KeyOf<T>

The keys of the object, or an empty array when it is not an object