Retrieves the value of the given key from an object.
The object to retrieve the value from.
The key to look for in the source object.
source
The default value to return if the key doesn't exist or if no source object is provided.
key
Retrieves the value of the given key from an object.