code: function equal(dependentKey, value) {
      return _emberMetalComputed.computed(dependentKey, function () {
        return _emberMetalProperty_get.get(this, dependentKey) === value;
      });
    }
docs: A computed property that returns true if the provided dependent property
  is equal to the given value.
  
  Example
  
  ```javascript
  var Hamster = Ember.Object.extend({
  napTime: Ember.computed.equal('state', 'sleepy')
  });
  
  var hamster = Hamster.create();
  
  hamster.get('napTime'); // false
  hamster.set('state', 'sleepy');
  hamster.get('napTime'); // true
  hamster.set('state', 'hungry');
  hamster.get('napTime'); // false
  ```
  
  @method equal
  @for Ember.computed
  @param {String} dependentKey
  @param {String|Number|Object} value
  @return {Ember.ComputedProperty} computed property which returns true if
  the original value for property is equal to the given value.
  @public