documentcloud/underscore — pull request #897 by siadat (2012-12-13 13:10:28+00:00)
Title: get function for objects

A get function that works with chaining without breaking it even if the
the given key does not exist. E.g., the following code works even if
none of the specified keys exist, without having to check many
conditional:

_.chain(data) // => object
.get('key1') // => array
.first() // => object
.get('key2') // => object
.get('key3') // => object
.value();