not (dependentKey) Ember.ComputedProperty
public
A computed property that returns the inverse boolean value of the original value for the dependent property.
Example
let User = Ember.Object.extend({ isAnonymous: Ember.computed.not('loggedIn') }); let user = User.create({loggedIn: false}); user.get('isAnonymous'); // true user.set('loggedIn', true); user.get('isAnonymous'); // false
Parameters:
-
dependentKey
String
Returns:
-
Ember.ComputedProperty
- computed property which returns inverse of the original value for property
Please login to continue.