Recursively removes properties whose values match the specified type names.
The object or array to mutate
The type names to exclude, such as Function or String
Function
String
The mutated object reference
Recursively removes properties whose values match the specified type names.