benchmarks/scenarios/ember.js
function (fullName, options) {
      _emberMetalDebug.assert('fullName must be a proper full name', this.validateFullName(fullName));

      var source = undefined;

      source = options && options.source && this.normalize(options.source);

      return has(this, this.normalize(fullName), source);
    }
function (fullName, options) {
      _emberMetalDebug.assert('fullName must be a proper full name', this.validateFullName(fullName));

      var source = undefined;

      source = options && options.source && this.normalize(options.source);

      return has(this, this.normalize(fullName), source);
    }
function ( fullName , options ) { _emberMetalDebug . assert ( 'fullName must be a proper full name' , this . validateFullName ( fullName ) ) ; var source = undefined ; source = options && options . source && this . normalize ( options . source ) ; return has ( this , this . normalize ( fullName ) , source ) ; }
Given a fullName check if the container is aware of its factory
or singleton instance.
@private
@method has
@param {String} fullName
@param {Object} [options]
@param {String} [options.source] the fullname of the request source (used for local lookups)
@return {Boolean}
Given a fullName check if the container is aware of its factory or singleton instance .