examples/npm/output.js
function(object) {
    if (!(object && object.url)) return null;
    return _.isFunction(object.url) ? object.url() : object.url;
  }
function(object) {
    if (!(object && object.url)) return null;
    return _.isFunction(object.url) ? object.url() : object.url;
  }
function ( object ) { if ( ! ( object && object . url ) ) return null ; return _ . isFunction ( object . url ) ? object . url ( ) : object . url ; }
Helper function to get a URL from a Model or Collection as a property or as a function.
Helper function to get a URL from a Model or Collection as a property or as a function .