- Introduction
- Introduction to Mobservable
- The Basics: Making stuff Reactive
- Core API
- Advanced API
- Best Practices For Large Apps
- 5.1. Definging data stores
- 5.2. Writing (async) actions
- 5.3. Organizing React components
- 5.4. Universal applications —>
- How does Mobservable work?
- Tips & Tricks
- 7.1. DevTools
- 7.2. ES6 & TypeScript goodies
- 7.3. Tracking state changes
- 7.4. Predicates
- 7.5. Performance considerations
- 8. Resources
- 9. Frequently Asked Questions
- Published with GitBook
Introduction
isReactive
Returns true if the given value was created or extended by mobservable. Optionally accepts a second string parameter to see whether a specific property is observable.
var person = makeReactive({firstName: "Sherlock",lastName: "Holmes"});person.age = 3;isReactive(person); // trueisReactive(person, "firstName"); // trueisReactive(person.firstName); // false (just a string)isReactive(person, "age"); // false
