Safely returns keys on an object or an empty array if not an object.
An object.
Object keys or empty array.
Safely returns keys on an object or an empty array if not an object.