cacheFor (obj, key) Object
public
Returns the cached value for a property, if one exists. This can be useful for peeking at the value of a computed property that is generated lazily, without accidentally causing it to be created.
Parameters:
-
obj
Object
- the object whose property you want to check
-
key
String
- the name of the property whose cached value you want to return
Returns:
-
Object
- the cached value
Please login to continue.