objectKeys
function objectKeys<T>(obj): KeyOf<T>;Get the keys of an object.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”T
The object
Returns
Section titled “Returns”KeyOf<T>
The keys of the object, or an empty array when it is not an object