Flatten an object. Any properties that are collections will get converted to an array of keys.
The object to flatten.
Optional
Optional. If true, calls toJSON method on nested objects.
Rest
Optional. Specific properties to include/exclude, or rename.
Flattened object.
Flatten an object. Any properties that are collections will get converted to an array of keys.