documentcloud/underscore-contrib — pull request #62 by jridgewell (2013-08-01 14:41:02+00:00)
Title: _.attempt(object, 'method', [*arguments])

A helper function, similar to Rails' `try`, that will call the method on object, unless object is undefined or null. Passes the 3rd+ argument as the arguments to the method.'

Originally a pull request to underscore (https://github.com/jashkenas/underscore/pull/1241).